Click here to Skip to main content
15,843,727 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Fellows

How to check .net 6.x.x version installed or not by Registry ?
for both x86 and 64 bit OS.

What I have tried:

I found 2 registry values by google but their exists multiple on different PCs. So I want to handle all registry keys in my application.


HKLM\SOFTWARE\Microsoft\ASP.NET Core\Shared Framework\v6.0
Updated 24-Sep-22 21:35pm
RickZeeland 24-Sep-22 5:15am    
It's a big mess I'm afraid, tried to follow the ongoing discussion here:
But the relevant link at the end of the discussion seems to be gone :(

The version of .NET Framework (4.5 and later) installed on a machine is listed in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full. If the Full subkey is missing, then .NET Framework 4.5 or above isn't installed.

Determine which .NET Framework versions are installed - .NET Framework | Microsoft Learn[^]
Share this answer
The registry location seems to change per update as a user commented here:
Correct approach to Check for .NET 6 installation - Microsoft Q&A[^]




Don't understand why these .NET Core guys do not follow any standards :(
Share this answer
DoingWork 26-Sep-22 7:20am    
What is meant by dword:000001 ??
I have installed and then un-installed v6.0.8, but still dowrd value is 00001. (means no change)
RickZeeland 26-Sep-22 8:14am    
Maybe your PC needs a reset? or another app is still using .NET 6 ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900