NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Environment.OSVersion

Returns the operating system name, version, and build number.

[Visual Basic]
Public Shared ReadOnly Property OSVersion As OperatingSystem
[C#]
public static OperatingSystem OSVersion {get;}
[C++]
public: __property static OperatingSystem* get_OSVersion();
[JScript]
public static function get OSVersion() : OperatingSystem;

Property Value

Returns the operating system name, version, and build number.

Exceptions

Exception Type Condition
ExecutionEngineException is thrown if the operating system is not recognized.

See Also

Environment Class | Environment Members | System Namespace