Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
Assembly: mscorlib (in mscorlib.dll)
For the .NET Framework Versions 4, 4.5, 4.5.1, and 4.5.2, the Version object whose string representation has the form 4.0.30319.xxxxx. For the .NET Framework 4.6, it has the form 4.0.30319.42000.property returns a
For the .NET Framework 4.5 later, we do not recommend using the How to: Determine Which .NET Framework Versions Are Installed.property to detect the version of the runtime; instead, you can determine the version of the common language runtime by querying the registry. For more information, see
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.)
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0