In this article
The Version API Helper functions are used to determine the version of the operating system that is currently running. For more information, see Getting the System Version.
Đang xem: Windows 92 ／／ dmt
The following table summarizes the most recent operating system version numbers.Operating systemVersion number
|Windows Server 2019||10.0*|
|Windows Server 2016||10.0*|
|Windows Server 2012 R2||6.3*|
|Windows Server 2012||6.2|
|Windows Server 2008 R2||6.1|
|Windows Server 2008||6.0|
|Windows Server 2003 R2||5.2|
|Windows Server 2003||5.2|
|Windows XP 64-Bit Edition||5.2|
* For applications that have been manifested for Windows 8.1 or Windows 10. Applications not manifested for Windows 8.1 or Windows 10 will return the Windows 8 OS version value (6.2). To manifest your applications for Windows 8.1 or Windows 10, refer to Targeting your application for Windows.
Identifying the current operating system is usually not the best way to determine whether a particular operating system feature is present. This is because the operating system may have had new features added in a redistributable DLL. Rather than using the Version API Helper functions to determine the operating system platform or version number, test for the presence of the feature itself.
Xem thêm: genesis roms
To determine the best way to test for a feature, refer to the documentation for the feature of interest. The following list discusses some common techniques for feature detection:
If you must require a particular operating system, be sure to use it as a minimum supported version, rather than design the test for the one operating system. This way, your detection code will continue to work on future versions of Windows.
Note that a 32-bit application can detect whether it is running under WOW64 by calling the IsWow64Process function. It can obtain additional processor information by calling the GetNativeSystemInfo function.
Xem thêm: game online mới nhất
For more information, see Windows 10 release information and Windows lifecycle fact sheet.