Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Current .NET CLR version at runtime?

Tags:

.net

clr

How can I get the current CLR Runtime version in a running .NET program ?

like image 333
driis Avatar asked Dec 01 '09 14:12

driis


People also ask

How do I find .NET CLR version?

Find CLR versionsOpen Visual Studio Developer Command Prompt or Visual Studio Developer PowerShell and enter clrver . For .NET Framework 4.5 and later versions, don't use the Environment.Version property to detect the version of the CLR.

What is the current .NET version?

528040 (Windows 10 May 2019 Update and Windows 10 November 2019 Update) 528049 (all other OS versions)

What is .NET CLR version in IIS?

NET CLR Version 4.0 is the CLR base for the following . NET Framework Versions: 4. 4.5 (including 4.5.


1 Answers

Check out the System.Environment.Version property.
https://docs.microsoft.com/en-us/dotnet/api/system.environment.version

like image 100
Laurent Etiemble Avatar answered Oct 13 '22 07:10

Laurent Etiemble