Summary
Gets a System.Version
object that identifies this operating
system.
Syntax
[Function("get-version")]
public static Version GetVersion(OperatingSystem operatingSystem)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
operatingSystem |
OperatingSystem |
The operating system. |
Return Value
Type |
Description |
Version |
A System.Version object that describes the major version,
minor version, build, and revision of the operating system.
|
See Also
- NAnt.Core.Functions.EnvironmentFunctions.GetOperatingSystem