PlatformName Property

NAnt SDK Documentation - v0.92 |

# Project.PlatformName Property

Gets the name of the platform on which NAnt is currently running.

[Visual Basic]
Public ReadOnly Property PlatformName As String
[C#]
public string PlatformName {get;}

#### Property Value

The name of the platform on which NAnt is currently running.

#### Remarks

Possible values are:

- win32
- unix

#### Exceptions

Exception Type | Condition
--- | ---
BuildException | NAnt does not support the current platform.

#### See Also

Project Class | NAnt.Core Namespace