NAnt SDK Documentation - v0.92

PlatformHelper.IsWindows Property

Returns a value indicating whether NAnt is running on Windows.

[Visual Basic]
Public Shared ReadOnly Property IsWindows As Boolean
[C#]
public static bool IsWindows {get;}

Property Value

true if NAnt is running on Windows; otherwise, false.

See Also

PlatformHelper Class | NAnt.Core Namespace