OperatingSystem.IsWindows Método

Definición

Indica si la aplicación actual se está ejecutando en Windows o no.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

Devoluciones

Boolean

true si la aplicación actual se está ejecutando en Windows; de lo contrario, false.true if the current application is running on Windows; false otherwise.

Se aplica a