.NET Frameworkのバージョンを確認する方法

レジストリの値を確認する。regeditで下記のレジストリの値を調べる。

  • キーのパス : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
  • 値の名前 : Release

またはコマンドプロンプトに下記のコマンドをコピペして実行する。

reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v "Release"

するとレジストリの値が表示される。

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    Release    REG_DWORD    0x8234d

レジストリの値と.NET Frameworkのバージョンの対応は下表の通り。

.NET Framework Release の値
4.5 378389 (0x5c615)
4.5.1 378675 (0x5c733) (Windows 8.1 or Windows Server 2012 R2)
378758 (0x5c786) (Windows 8, Windows 7 SP1, Windows Vista SP2)
4.5.2 379893 (0x5cbf5)
4.6 393295 (0x6004f) (Windows 10)
393297 (0x60051) (その他)
4.6.1 394254 (0x6040e) (Windows 10 November Update)
394271 (0x6041f) (その他)
4.6.2 394802 (0x60632) (Windows 10 Anniversary Update)
394806 (0x60636) (その他)
4.7 460798 (0x707fe) (Windows 10 Creators Update)
460805 (0x70805) (その他)
4.7.1 461308 (0x709fc) (Windows 10 Fall Creators Update)
461310 (0x709fe) (その他)
4.7.2 461808 (0x70bf0) (Windows 10 1803 or Windows Server 1803)
461814 (0x70bf6) (その他)
4.8 528040 (0x80ea8) (Windows 10 1903 or 1909)
528372 (0x80ff4) (Windows 10 2004 or 20H2)
528449 (0x81041) (Windows 11 or Windows Server 2022)
528049 (0x80eb1) (その他)
4.8.1 533320 (0x82348) (Windows 11 2022 Update)
533325 (0x8234d) (その他)