Microsoft .net framework is one of the most useful tools for developers. As it offers a readymade code collection of code that Microsoft uses. However, as a user, you will obviously install a lot of applications on your computer. And some of them may require a specific version of .net framework installed on your computer. In such cases, you will obviously need to check net framework version.
So you can get a confirmation that you are using the right version of the dot net framework and there is no need to download a separate version.
Although, the thing about Windows is that you can install multiple versions of .dot net framework. But it would be good to check net framework version and get yourself a confirmation.
So the question is, how to check .dot net framework version? Well here are a couple of methods which you can follow to do so:
How To Check Net Framework Version?
1. List all the .NET Framework Version Installed On Your Computer Using The Command Line
This one is one of the easiest ways to know the dot net framework versions installed on your computer. You must know the fact that all the .net framework versions are installed into these two folders:
Hence, finding the framework version is not really a hard task. You can go to these folders and figure out the version. However, you can also make the whole process really quick by using a simple command.
For this, simply go to the command prompt.
Then copy and paste the below link to CMD and hit the enter button.
dir %WINDIR%\Microsoft.Net\Framework\v* /O:-N /B
After that, CMD will display you all the versions of .net framework installed on your computer. However, you should also know that it will display the entire dot net framework version except the 4.5. As the.NET Framework 4.5 is installed in the v4.0.xxxxx subdirectory.
2. How To Check Net Framework Version Using Registry?
When you install or update any version of the .net framework, there are quite a lot of information is written into the System registry. And by using the registry feature you can easily check all the .net framework versions installed on your computer. To get started with this, follow these steps:
- First of all, from your keyboard press Windows Key + R button to open the RUN dialog.
- Over here, type down regedit.exe and hit the enter button.
- This would open the registry menu. Now from here, you will need to go to this following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4.
- Then under the VR, check if you have.NET Framework version 4.5 or later.
- Now from the right hand panel, check for the DWORD entry named Release. If the Release DWORD exists, you have .NET Framework 4.5 or a later version.
The release DWORD data contains a value related to the specific .NET Framework version. However, to help you out in understanding what value is assigned to what .net framework, here is a table:
|Release Value||.NET Framework version|
|378389||.NET Framework 4.5|
|378675||NET Framework 4.5.1 on Windows 8.1 / Windows Server 2012 R2|
|378758||.NET Framework 4.5.1 on Windows 8, Windows 7 SP1, Windows Vista SP2|
|379893||.NET Framework 4.5.2|
|393273||.NET Framework 4.6 on Windows 10|
|393297||.NET Framework 4.6|
|394254||.NET Framework 4.6.1 on Windows 10 November Update|
|394271||.NET Framework 4.6.1|
|394802||.NET Framework 4.6.2 on Windows 10 Anniversary Update|
|394806||.NET Framework 4.6.2|
|460798||.NET Framework 4.7 on Windows 10 Creators Update|
|460805||.NET Framework 4.7|
|461308||.NET Framework 4.7.1 on Windows 10 Fall Creators Update|
|461310||.NET Framework 4.7.1|
|461808||.NET Framework 4.7.2 on Windows 10 April 2018 Update|
|461814||.NET Framework 4.7.2|
3. Use PowerShell To Chek .Net Framework Version
Just like CMD, there is also a command that exists for PowerShell, which you can use to check net framework version. Simply run this following command in PowerShell, and you are good to go:
(Get-ItemProperty ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full’ -Name Release).Release
4. Check Manually
Another easy method to know .net framework version is to check the versions manually. And you can easily do so by going to the “Programs and Features” option or “Add and Remove Programs” option from Control Panel.
It is a very basic method. To do so, simply search for the Control panel by clicking on the search button. Then go to the programs and features menu, and you will find a list of all the programs installed on your computer. Simply locate the net framework and check the version, and you are all done.
5. .Net Version Detector utility
In the end, you can try out the .Net Version Detector utility. It is a third party utility tool made by the Asoft. And it can help you to get a list of all the installed versions of .Net Framework on your computer. You can download the software from here.
Also, the best part of the tool is that it does not require any installations at all. Simply run the application, and you are all done. So once you are done downloading the file, simply extract it on your computer. After that, run the dotnet.exe file and follow all the screen instructions. Once done, you will get a screen like this where you will find all the details:
So that was all for your question how to check net framework version. Now go ahead and check these methods out and see how they are working for you. Also, if you have any more questions to ask. Then do feel free to comment below.