Getting the .Net Framework Version On Your Machine
Today I needed to install a new web application to a client web server. Before installing I wanted to get the .Net Framework version to understand whether the required .Net Framework was present.
I used the following registry checks to get all installed .Net Framework versions and the latest .Net Framework version.
First you should open a command prompt (Run > cmd)
Type the following command to get all installed .Net Framework versions:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP"
Type the following command to get the latest installed .Net Framework version:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full" /v version
Hope it helps!
Originally published at https://www.weboideas.com on November 28, 2016.