Gets a
System.Version
object that identifies this operating
system.
Version operating-system::get-version(operatingSystem)
Parameters
Name | Type | Description |
---|---|---|
operatingSystem | OperatingSystem | The operating system. |
Return Value
A
System.Version
object that describes the major version,
minor version, build, and revision of the operating system.
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions
See Also
- NAnt.Core.Functions.EnvironmentFunctions.GetOperatingSystem