OperatingSystem.IsWindows Methode

Definition

Gibt an, ob die aktuelle Anwendung unter Windows ausgeführt wird.

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

Gibt zurück

true, wenn die aktuelle Anwendung auf Windows ausgeführt wird; andernfalls false.

Gilt für: