以windows 2016 standard版本为例
通过注册表查看,找到 .NET Framework 注册表信息所在的位置:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
查看release的数值,394802,并对照一下表格:
Value of the Release DWORD | Version |
---|---|
378389 | .NET Framework 4.5 |
378675 | .NET Framework 4.5.1 installed with Windows 8.1 or Windows Server 2012 R2 |
378758 | .NET Framework 4.5.1 installed on Windows 8, Windows 7 SP1, or Windows Vista SP2 |
379893 | .NET Framework 4.5.2 |
On Windows 10 systems only: 393295
On all other OS versions: 393297 |
.NET Framework 4.6 |
On Windows 10 November Update systems only: 394254
On all other OS versions: 394271 |
.NET Framework 4.6.1 |
On Windows 10 Anniversary Update and Windows Server 2016: 394802
On all other OS versions: 394806 |
.NET Framework 4.6.2 |
On Windows 10 Creators Update only: 460798
On all other OS versions: 460805 |
.NET Framework 4.7 |
On Windows 10 Fall Creators Update only: 461308
On all other OS versions: 461310 |
.NET Framework 4.7.1 |
On Windows 10 April 2018 Update only: 461808
On all other OS versions, including Windows 10 October 2018 Update: 461814 |
.NET Framework 4.7.2 |
也可查看version的数值,4.6.01586,但是貌似意义不大。