How to determine which version of the .NET CLR is loaded by a running application on XP?

I know that there are managed shell extensions downloaded by explorer.exe to the computer. I want to know which version of the CLR is loaded into explorer.exe. If I start Vista or Win7, I can use the Process Explorer and see the .NET Assemblies tab of the properties for explorer.exe. However, this does not work on XP. Is there any way to get this information on XP?

+1
source share
2 answers

Does Process Explorer also show downloaded DLL files? Find mscorwks.dllin this list and see where it loads. (What is the version of the workstation - I don’t remember what the version of the server is, but I don’t think that you will see it on the XP box anyway. Look for something starting with mscora first approximation.)

+6
source

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.
+6
source

All Articles