Gets a OperatingSystem object that contains the current platform identifier and version number.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static OperatingSystem OSVersion { get; }
Public Shared ReadOnly Property OSVersion As OperatingSystem Get
public: static property OperatingSystem^ OSVersion { OperatingSystem^ get (); }