Class osVersion
Provides Windows version info. Also some info about the current process (eg 32/64 bit) and this library.
public static class osVersion
Remarks
The Windows version properties return the true Windows version; it does not depend on manifest etc.
Namespace: Au
Assembly: Au.dll
Fields
Name | Description |
---|---|
win10 | Windows version major+minor value that can be used with osVersion.winVer.
Example: |
win7 | Windows version major+minor value that can be used with osVersion.winVer.
Example: |
win8 | Windows version major+minor value that can be used with osVersion.winVer.
Example: |
win8_1 | Windows version major+minor value that can be used with osVersion.winVer.
Example: |
Properties
Name | Description |
---|---|
is32BitOS |
|
is32BitProcess |
|
is32BitProcessAnd64BitOS | Returns |
isArm64OS |
|
isArm64Process |
|
minWin10 |
|
minWin10_1607 |
|
minWin10_1703 |
|
minWin10_1709 |
|
minWin10_1803 |
|
minWin10_1809 |
|
minWin10_1903 |
|
minWin10_1909 |
|
minWin10_2004 |
|
minWin10_20H2 |
|
minWin10_21H1 |
|
minWin10_21H2 |
|
minWin10_22H2 |
|
minWin11 |
|
minWin11_22H2 |
|
minWin11_23H2 |
|
minWin11_24H2 |
|
minWin8 |
|
minWin8_1 |
|
onaString | Gets string containing OS version, .NET version and |
thisLibrary | Gets the version string of this library ( |
winBuild | Gets Windows build number. For example 14393 for Windows 10 version 1607. |
winMajor | Gets Windows major version. |
winMinor | Gets Windows minor version. |
winVer | Gets Windows major and minor version in single int: Win7 - 0x601; Win8 - 0x602; Win8.1 - 0x603; Win10/11 - 0xA00.
Example: |