How do I find out which version of .NET is installed?
I'm looking for something as simple as "java -version" that I can type at the command prompt and that tells me the current version(s) installed.
I better add that Visual Studio may not be installed - this is typically something that I want to know about a client machine.
There is an easier way to get the exact version .NET version installed on your machine from a cmd prompt. Just follow the following instructions;
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP"
(This will list all the .NET versions.)
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full" /v version
Please find the attached image below to see how it is shown.