November 10, 2005

How to detect the version of the .NET Framework that is installed on the computer

To detect the .NET Framework version(s) you need to check the following registry keys:

  .NET Framework 1.0:
  Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
  Key: 3705
  Value (REG_SZ): 3321-3705

  .NET Framework 1.1:
  Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
  Key: 4322
  Value (REG_SZ): 3706-4322

  .NET Framework 2.0:
  Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
  Key: 50727
  Value (REG_SZ): 50727-50727 

Added:* Today (2005-11-11) they added the v2.0 in the KB article: How to detect the version of the .NET Framework that is installed in a deployment package in Visual Studio .NET


Posted 2 years, 2 months ago on November 10, 2005
The trackback url for this post is http://blog.kalmbachnet.de/bblog/trackback.php/55/

Re: How to detect the version of the .NET Framework that is installed on the computer
If you do that, there is no way to know if .NET is installed or not. MS recommended to use the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727 and then checking Install 1/0
Posted 2 years, 1 month ago by Leon • • • Reply
Comment Trackback URL : http://blog.kalmbachnet.de/bblog/trackback.php/55/339/
Re: How to detect the version of the .NET Framework that is installed on the computer
Can you also add the refering KB article?
Posted 2 years, 1 month ago by Jochen Kalmbach • • • Reply
Comment Trackback URL : http://blog.kalmbachnet.de/bblog/trackback.php/55/340/

Comments have now been turned off for this post