Gets an OperatingSystem object that contains the current platform identifier and version number.
Assembly: mscorlib (in mscorlib.dll)
Typically, the property is used to ensure that an app is running on some base version of an operating system in which a particular feature was introduced. When this is the case, you should perform a version check by testing whether the current operating system version returned by the property is the same as, or greater than, the base operating system version. For more information, see the Version class topic.
The property returns the version reported by the Windows GetVersionEx function.
The property reports the same version number (184.108.40.206) for both Windows 8 and Windows 8.1.
In some cases, the property may not return the operating system version that matches the version specified for the Windows Program Compatibility mode feature.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)