Home Tech 6 Ways To Check .NET Framework Version on Windows 10

6 Ways To Check .NET Framework Version on Windows 10

0

Although, checking the version of the .NET framework is not necessary for the most part. But if you are a programmer and have to run multiple versions of the platform to build an app then you might want to consider gaining the knowledge of your computer’s .NET framework.

What is the .NET framework? 🤔

If you are a programmer then the chances of you knowing .NET framework are high. But if you are a layman then this subset is especially for you.

A framework is a basic requirement to run something, for example, an engine of a car is its framework. So, in the same manner, there are software frameworks. They are nothing but a piece of written codes which is used to build software of a particular type

The .NET framework is a software framework provided by Microsoft to act as a base for more complex coding in Windows. Therefore, it can be used to build both Form and web-based applications.

.NET framework architecture:-

These are the following components of .NET Framework Architecture:-

.NET Class Library:- One of the best features of the .NET framework architecture is the .NET class library. It has multiple classes stored in them, and all of them are readily available for the clients to use.

CLR:- CLR stands for Common Language Runtime. The Common Language Runtime makes the .NET Framework multilinguistic as it allows the framework to be interoperable by switching between multiple different languages such as C, C++, VB, Visual, etc.

They provide a common environment for the implementation of the codes written in different programming languages.

DLR:- DLR or Dynamic Language Runtime makes the .NET Framework to execute Dynamic Languages by adding some more features to the CLR.

Application Domain: It acts like a logical wall that prevents an application from accessing another application.

.NET Framework Security:- As the name suggests .NET Framework Security aims to provide the users with the total security of their codes and resources from the hacker.

Cross-Language Interoperability: If you have created the code in one language and want to execute it in another language, that is when Cross-Language Interoperability will come into the act.

Side-by-Side execution: Because of Side-by-Side execution, a user can use multiple versions of CLR simultaneously.

Common Type System: CTS or Common Type System is a collection of rules that all the data types must abide by. It aims to standardize the codes. As when we type a code in any language and want it to interact with each other. For that purpose, you have the Common Type System(CTS) as it will standardize the data types.

These are the components of the .NET Framework.

How To Check the .NET framework version

Check .NET Framework Version

Checking the .NET framework version is an easy task. And this is subset will make this task even easier. Here are 4 techniques that one can use to check the .NET framework version in windows 10.

1. By Command Prompt:-

You can do zillions of things with the help of command prompt and checking your computer’s .NET framework is one of them. Just follow the following steps and you will be able to check your .NET framework.

Step1:- Launch “command prompt” by either searching it out from the Start menu or press “Windows + R” to launch it via RUN.

Note: Make sure to open the command prompt in administrator mode, to open the command prompt in administrator mode via RUN, press “CTRL + SHIFT + ENTER”

Step2: In the command prompt type(copy-paste)

reg query “HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP” /s

Check .Net Framework Version

So, this how you can check your .NET framework version. As in this example, the framework is “4.0.30319”.

This is how you can see your Check .Net Framework Version via Command Prompt.

2. By PowerShell

Microsoft is trying to shifts its user from one command-based application, Command Prompt to another command-based application PowerShell. PowerShell is a more glamorous approach toward the command line.

As I said earlier PowerShell is just like a command prompt. So, it exhibits the same feature with some twitch in commands.

Here is how you can check your .NET version with PowerShell:-

Step 1: Launch PowerShell by the start menu(open in admin mode or use the shortcut key “Windows + X”. Click “A” on the keyboard.

Step 2: In the appeared window type the below command and hit enter

Get-ChildItem ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP’ -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match ‘^(?!S)\p{L}’} | Select PSChildName, version

Now, you can observe the output as it unravels the information of both the client and the version of the .NET framework.

This is how you can see your Check .Net Framework Version via PowerShell.

3. By Registry Editor:-

The Registry Editor in windows is a database that stockpiles all the low-level settings and the apps that supports the use of the registry. The registry editor can be used for checking your “.NET framework”.

Just follow the prescribed steps and you will be able to check your .NET version.

Open Registry Editor either from the start menu( search registry editor) or launch RUN by clicking Windows + R, afterward type “Regedit” and hit enter to go.

Search for HKEY_LOCAL_MACHINE, click on the dropbox.

From the dropbox navigate as Software> Microsoft> NET Framework Setup>NDP.

Select the main version, like v4.0.

Click on the client key.

Here you can see the version of the .NET framework you are using.

So, that is how you can search for your .NET version without having to write a command.

4. By DotNetVersionLister

There is a tool in the GitHub community tool that will allow you to see the versions of the .NET framework installed on your computer.

Now to use DotNetVersionLister perform the following steps:-

Step 1: Launch PowerShell in admin mode.

Step 2: In PowerShell’s command line type  “Install-Module -Name DotNetVersionLister -Scope CurrentUser #-Force” and install this tool on your device.

Step 3: Press Y to say yes and agree to the terms.

Step 4: Now, type “Get-STDotNetVersion” and hit enter.

All the installed version will appear on your screen.

Check .Net Framework Version

5. By .NET Version

.NET version (Download Here) is an OG in this field. It has been in the market for ages. And it still works. Therefore, it is one of the best ways to check all the .NET version installed on your computer.

Note: Always run this program in administrator mode.

It also allows the user to check the version of the internet explorer installed on your computer.

This software provides with numerous buttons such as “copy to clipboard”, “printing an email” and “Zip”

This is one of the oldest and most reliable technique. You do not need to write a long command as you did in command prompt and PowerShell.

These all were the technique by which you can check the .NET framework version of your operating system.

6. Using Revo Uninstaller

You might be surprised by seeing Revo uninstaller (Download Here) in this list, but Revo uninstaller is not the only uninstaller you are also able to view the installed version of installed applications.

As you saw in the below screenshot this application is not only showing the installed applications, it’s showing the installed version applications along with the installed date of the application and the company.

Check .NET Framework Version

How to repair the .NET Framework?

If you are facing some issues with your .NET framework and are deciding what to do then you should try and repair it. In this subsection, we are going to teach you “how to troubleshoot .NET framework”.

To do that first of all you have to download and run Microsoft .NET Framework Repair Tool.

At the same time, it is recommended to run the system file checker, to do that just be obedient to the following steps.

Step 1: Open command prompt as an administrator from either the start menu or the run(windows + r).

Step 2: type “SFC /SCANNOW” and hit enter.

This command will scan your problem and see if it is resolved or not.

How to Uninstall the .NET Framework?

Newer versions of Microsoft Windows such as Windows 8 and above does not provide the feature of Uninstalling your .NET Framework. Windows 8 and above do not consider “Microsoft .NET” as an installed program but it considers it as a default program.

To do that just follow the steps prescribed below:-

Step 1: Search for “Programs and Features” in your control panel.

Step 2: Search .NET Framework and uninstall it by right-clicking on the icon.

Note: It is better to repair your .NET framework rather than uninstalling it.

Summary:-

  • The .NET framework is a software framework provided by Microsoft to act as a base for more complex coding in Windows.
  • Components of .NET framework architectur are .NET Class Library,Common Language Runtime(CLR), Dynamic Language Runtime(DLR), Application domain, .NET Framework, Cross Language Interoperability, Side-by-Side execution, Common Type System.
  • There are five methods of checking your current .NET Framework:-
  1. By Command Prompt, command “reg query “HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP” /s”
  2. By PowerShell, command “Get-ChildItem ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP’ -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match ‘^(?!S)\p{L}’} | Select PSChildName, version
  3. By Registry Editor
  4. By DotNetVersionLister
  5. By NET version

 To repair the .NET framework, download and run Microsoft .NET Framework Repair Tool, for confirmation write “SFC /SCANNOW”.

To uninstall .NET framework go to your program files and uninstall. Note: It is only applicable in windows prior to Windows 8.