OperatingSystem.IsWindows Methode

Definition

Gibt an, ob die aktuelle Anwendung auf 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

Boolean

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

Gilt für