This article describes two ways to verify your current installed version of the .NET Framework.
PowerShell script
Run the following PowerShell script, changing the number at the end to correspond to the minimum version in the chart below you want to verify.
The following script example would check for .NET version 4.6.2 or below.
(Get-ItemPropertyValue -LiteralPath 'HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full' -Name Release) -ge 394802
Check the registry
- Open regedit.exe and navigate to the following key:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
- Check for a REG_DWORD entry named Release. If it exists, then you have .NET Framework 4.5 or later installed. The value in the Data field corresponds to a particular version of .NET Framework.
For example, the minimum version table shows that this device is currently running version release 528449, which corresponds to version 4.8 of the .NET Framework.
Learn more
For more details, see the Microsoft article, How to: Determine which .NET Framework versions are installed.