NAnt SDK Documentation - v0.92 |
|
PlatformFunctions.IsWin32 Method
NOTE: This method is now obsolete.
Use the is-windows function instead.
Checks whether NAnt is running on Windows (and not just 32-bit Windows as the name may lead you to believe).
[Visual Basic]
<Obsolete(Message:="Use the is-windows function instead.", IsError:=False), _
Function(Name:="is-win32")>
Public Shared Function IsWin32() As
Boolean
[C#]
[Obsolete(Message="Use the is-windows function instead.", IsError=False)]
[Function(Name="is-win32")]
public static
bool IsWin32();
Return Value
true if NAnt is running on Windows; otherwise, false.
See Also
PlatformFunctions Class | NAnt.Core.Functions Namespace