The versions of Microsoft .NET can be determined using the release number found in the registry at this location:
[HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full] Release
Release | Version |
378389 | 4.5 |
378681 | 4.5.1 Preview |
378675 378758 | 4.5.1 |
379893 | 4.5.2 |
381029 393223 393273 393289 |
4.6 Preview |
393295 393297 | 4.6 |
394254 394271 | 4.6.1 |
394747 394748 394800 | 4.6.2 Preview |
394802 394806 | 4.6.2 |
460798 460805 | 4.7 |
461283 461290 |
4.7.1 Preview |
461308 461310 | 4.7.1 |
461808 461814 | 4.7.2 |
528040 528049 528372 | 4.8 |
528449 | 4.8.x Insider |
Resources:
- How to: Determine Which .NET Framework Versions Are Installed
- .NET Framework versions 4, 4.5 and 4.5.1 are EOL since 2016-01-12
- The minimum values of the Release DWORD for .NET Framework 4.5 and later versions
Command line for Core editions:
reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full"
additional keywords: dotnet clrver