Ler em inglês Editar

Partilhar via


OperatingSystem.IsWindows Method

Definition

Indicates whether the current application is running on Windows.

public static bool IsWindows ();

Returns

true if the current application is running on Windows; false otherwise.

Applies to

Produto Versões
.NET 5, 6, 7, 8, 9