OperatingSystem.IsWindows Yöntem

Tanım

Geçerli uygulamanın Windows üzerinde çalışıp çalışmadığını belirtir.Indicates whether the current application is running on Windows.

public:
 static bool IsWindows();
public static bool IsWindows ();
static member IsWindows : unit -> bool
Public Shared Function IsWindows () As Boolean

Döndürülenler

Boolean

true geçerli uygulama Windows üzerinde çalışıyorsa; false Aksi takdirde.true if the current application is running on Windows; false otherwise.

Şunlara uygulanır