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;
Returns the operating system name, version, and build number.
Exception Type | Condition |
---|---|
ExecutionEngineException | is thrown if the operating system is not recognized. |