Summary
Checks whether NAnt is running on Windows (and not just 32-bit Windows
as the name may lead you to believe).
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- PlatformFunctions
Syntax
[Function("is-win32")]
[Obsolete("Use the is-windows function instead.")]
public static bool IsWin32()
Attributes
| Type | Description |
|---|---|
| FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
| ObsoleteAttribute |
Return Value
| Type | Description |
|---|---|
| bool |
true if NAnt is running on Windows;
otherwise, false.
|
