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!

OperatingSystem.ToString

Converts the current OperatingSystem object to a string representation.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();
[C++]
public: override String* ToString();
[JScript]
public override function ToString() : String;

Return Value

The format of the returned string is:

<platform> <majorVersion>.<minorVersion>.<revision>.<build> [ <csd>]

For example, for Windows 2000, the returned string, assuming an empty CSD ToString would return:

Microsoft Windows NT 5.0.0.2195

See Also

OperatingSystem Class | OperatingSystem Members | System Namespace