SystemInformationEvent.OSMajorVersion Property
Gets the operating system major version number, which is retrieved from GetVersionEx.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)
Syntax
'Declaration
Public ReadOnly Property OSMajorVersion As Integer
public int OSMajorVersion { get; }
public:
property int OSMajorVersion {
int get ();
}
member OSMajorVersion : int with get
function get OSMajorVersion () : int
Property Value
Type: Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.