If Visual Studio is installed on the target computer, you can use the Visual Studio Command Prompt to find out which versions of the CLR are loaded into the process.clrver <pid>
For instance:
C:\>clrver 4900
v2.0.50727
This means that the process with PID 4900 is loaded with .NET 2.
C:\>clrver -h
Displays CLR versions
Usage: clrver [-?|-all|<PID>]
-all - Displays all processes on the machine using the CLR.
<PID> - Displays the version of the CLR used by the specified process.
-? - Displays this help screen.
If called with no options, clrver will display all installed CLR versions.
source
share