Struct OsVersionInfoEx
Namespace: Dapplo.Windows.Kernel32.Structs
Assembly: Dapplo.Windows.Kernel32.dll
Syntax
public struct OsVersionInfoEx
Properties
| Improve this Doc View SourceBuildNumber
The build number of the operating system.
Declaration
public int BuildNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MajorVersion
The major version number of the operating system.
Declaration
public int MajorVersion { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MinorVersion
The minor version number of the operating system.
Declaration
public int MinorVersion { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PlatformId
The operating system platform. This member can be VER_PLATFORM_WIN32_NT (2).
Declaration
public int PlatformId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ProductType
Any additional information about the system.
Declaration
public WindowsProductTypes ProductType { get; }
Property Value
| Type | Description |
|---|---|
| WindowsProductTypes |
ServicePackMajor
The major version number of the latest Service Pack installed on the system. For example, for Service Pack 3, the major version number is 3. If no Service Pack has been installed, the value is zero.
Declaration
public short ServicePackMajor { get; }
Property Value
| Type | Description |
|---|---|
| System.Int16 |
ServicePackMinor
The minor version number of the latest Service Pack installed on the system. For example, for Service Pack 3, the minor version number is 0.
Declaration
public short ServicePackMinor { get; }
Property Value
| Type | Description |
|---|---|
| System.Int16 |
ServicePackVersion
A null-terminated string, such as "Service Pack 3", that indicates the latest Service Pack installed on the system. If no Service Pack has been installed, the string is empty.
Declaration
public string ServicePackVersion { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SuiteMask
A bit mask that identifies the product suites available on the system. This member can be a combination of the following values.
Declaration
public WindowsSuites SuiteMask { get; }
Property Value
| Type | Description |
|---|---|
| WindowsSuites |
Methods
| Improve this Doc View SourceCreate()
Factory for an empty OsVersionInfoEx
Declaration
public static OsVersionInfoEx Create()
Returns
| Type | Description |
|---|---|
| OsVersionInfoEx |