# operating-system::get-platform

[This is preliminary documentation and subject to change.]

Gets a PlatformID value that identifies the operating system platform.

### Usage

`PlatformID operating-system::get-platform(operatingSystem)`

### Parameters

Name | Type | Description
--- | --- | ---
operatingSystem | OperatingSystem | The operating system.

### Return Value

PlatformID value that identifies the operating system platform.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)

### See Also

environment::get-operating-system()