如何判断XP上运行的应用程序加载了什么版本的.NET CLR?

我知道在计算机上有explorer.exe加载的托管shell扩展。我想知道什么版本的CLR加载到explorer.exe。如果我正在运行Vista或Win7,我可以使用Process Explorer并查看explorer.exe属性的.NET Assemblies选项卡。但是,这不适用于XP。有没有办法在XP上获取此信息?     
已邀请:
Process Explorer是否也显示已加载的DLL?在该列表中查找
mscorwks.dll
,并查看它的加载位置。 (这是工作站版本 - 我不记得服务器版本是什么,但我不认为你会在XP盒子上看到它。看看以
mscor
开头的任何东西作为第一个近似值。)     
如果在目标计算机上安装了Visual Studio,则可以使用Visual Studio命令提示符中的
clrver
<pid>
来查看进程中加载​​了哪些CLR版本。 例如:
C:>clrver 4900
v2.0.50727
这表明使用PID 4900的进程已加载.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.
    

要回复问题请先登录注册