operating-system::get-platform

Gets a System.PlatformID value that identifies the operating system platform.
PlatformID operating-system::get-platform(operatingSystem)

Parameters

Name Type Description
operatingSystem OperatingSystem The operating system.

Return Value

System.PlatformID value that identifies the operating system platform.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions

See Also

  • NAnt.Core.Functions.EnvironmentFunctions.GetOperatingSystem