SystemInformationEvent.OSMajorVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the operating system major version number. This value is retrieved from GetVersionEx.
public:
property int OSMajorVersion { int get(); };
public:
property int OSMajorVersion { int get(); };
public int OSMajorVersion { get; }
member this.OSMajorVersion : int
Public ReadOnly Property OSMajorVersion As Integer