.Net registry query by the current version of the computer

.net framework 1-4

In the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP, the installed version will be listed under the NDP child. The version number is stored in the "Version". For the .NET Framework 4, "Version" located under the full client or children (under the NDP), or in the two sub-items.

.net framework version 4.5 or higher

View HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full, the ReleaseDWORD value

Release DWORD value of version
378389 .NET Framework 4.5
378675 Using Windows 8.1 or Windows Server 2012 R2 install .NET Framework 4.5.1
378758 Installed Windows 8, .NET Framework on Windows 7 SP1 or Windows Vista SP2 4.5.1
379893 .NET Framework 4.5.2
Only on Windows 10 systems: 393295
on all other operating system versions: 393 297
.NET Framework 4.6
Only on Windows 10 November update the system: 394 254
On all other operating system versions: 394 271
.NET Framework 4.6.1
In the 10th anniversary of Windows Update and Windows Server 2016: 394,802
on all other operating system versions: 394 806
.NET Framework 4.6.2
Only in Windows 10 update on creative people: 460,798
in all other operating system versions: 460 805
.NET Framework 4.7
Only Windows 10 updates fall creative people: 461,308
in all other operating system versions: 461 310
.NET Framework 4.7.1
Only Windows Updated 5 October 2018 on: 461,814
Windows only Updated 5 April 2018 in which: 461 808
On all other operating system versions: 461 814
.NET Framework 4.7.2

FIG examples are as follows:

FIG example .net framework 4.5

Guess you like

Origin www.cnblogs.com/mosakashaka/p/12608186.html