Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you determine what version(s) of .NET are running on a system?

Tags:

.net

What are the different ways (programmatically and otherwise) to determine what versions of .NET are running on a system?

like image 847
Krishna Kumar Avatar asked Sep 09 '08 17:09

Krishna Kumar


3 Answers

Directly from the source:

How to determine which versions and service pack levels of the Microsoft .NET Framework are installed

like image 161
Torlack Avatar answered Nov 03 '22 19:11

Torlack


If you're wanting the current framework version in use then you can see that via:

System.Environment.Version
like image 30
Ryan Farley Avatar answered Nov 03 '22 19:11

Ryan Farley


I found How to check .NET Framework version installed much more usable. Essentially, open Internet Explorer, and paste this into the address bar:

javascript:alert(navigator.userAgent)

I don't know if it always works, or if it is complete, but it works for my uses, doesn't require a lot of extra reading, and works without installing anything additional.

like image 2
cognitiaclaeves Avatar answered Nov 03 '22 18:11

cognitiaclaeves