In this tutorial you will find .NET version installed on your computer trough command prompt.
Note: You need to run Command Prompt Interface (CLI) as Administrator.
To find exact version you need to run these three commands ony by one:
dir %windir%\Microsoft.NET\Framework /AD
cd %windir%\Microsoft.NET\Framework\v4.0.30319
.\MSBuild.exe -version
or
You can view the default .NET Framework being used by the system using the WMIC command:
Command:
wmic product get description | findstr /C:.NET
Example:
C:\>wmic product get description | findstr /C:.NET
Microsoft .NET Framework 4.6.1
To list old versions (This command shows only the old versions, not the latest one):
dir /b %windir%\Microsoft.NET\Framework\v*
Example:
C:\> dir /b %windir%\Microsoft.NET\Framework\v*
v1.0.3705
v1.1.4322
v2.0.50727
v3.0
v3.5
v4.0.30319