User Tools

Site Tools


microsoft:dotnet

Links

Blogposts/Articles

Notes

Check the installed .NET Framework version

Query the registry to determine the installed version of the .NET Framework.

REM .NET 4.x series
"%SYSTEMROOT%\system32\reg.exe" QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full"
"%SYSTEMROOT%\system32\reg.exe" QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client"

REM .NET 3.5
"%SYSTEMROOT%\system32\reg.exe" QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5

REM .NET 3.0
"%SYSTEMROOT%\system32\reg.exe" QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0

Source: Microsoft .NET Docs - How to: Determine Which .NET Framework Versions Are Installed

C#

Tutorials

microsoft/dotnet.txt · Last modified: 2017/08/22 12:25 by bas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki