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;
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
OperatingSystem Class | OperatingSystem Members | System Namespace