Windowsversion
WindowsVersion is a label used to describe the version of the Microsoft Windows operating system as reported to software and system components. It is typically represented by a major and minor version number along with a build number, and is exposed by various system interfaces and registry keys.
Versioning in Windows NT has evolved over time. Windows 7/8/8.1 used major version numbers in the 6.x
Detecting the WindowsVersion in applications has changed with changes to software compatibility rules. Historically, developers used
Notes and limitations: Version reporting can be affected by application manifests, compatibility settings, and security policies.