platform::is-windows

[This is preliminary documentation and subject to change.]

Checks whether NAnt is running on Windows.

Usage

bool platform::is-windows()

Return Value

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

Requirements

Assembly: NAnt.Core (0.91.4298.0)