Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
Assembly: mscorlib (in mscorlib.dll)
For more information about the version of the common language runtime that is installed with each version of the .NET Framework, see .NET Framework Versions and Dependencies.
The following example displays the version of the common language runtime. (The version is omitted from the example output for security reasons.)
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)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.