.NET Framework 4.6 and 4.5
The OperatingSystem type exposes the following members.
|Platform||Gets a System.PlatformID enumeration value that identifies the operating system platform.|
|ServicePack||Gets the service pack version represented by this OperatingSystem object.|
|Version||Gets a System.Version object that identifies the operating system.|
|VersionString||Gets the concatenated string representation of the platform identifier, version, and service pack that are currently installed on the operating system.|