I know that there are managed shell extensions loaded by explorer.exe on a computer. I want to know what version of the CLR is loaded into explorer.exe. If I am running Vista or Win7, I can use Process Explorer and look at the .NET Assemblies tab of the properties for explorer.exe. However, this doesn't work on XP. Is there a way to get this info on XP?
相关问题
- Generic Generics in Managed C++
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Bulk update SQL Server C#
- Should I use static function in c# where many call
If you have Visual Studio installed on the target computer you can use
clrver
<pid>
from a Visual Studio Command Prompt to see what version(s) of the CLR are loaded in a process.For example:
This indicates that the process with PID 4900 has .NET 2 loaded.
Doesn't Process Explorer also show the the DLLs that have been loaded? Look for
mscorwks.dll
in that list, and see where it's being loaded from. (That's the workstation version - I can't remember what the server version is, but I don't imagine you'll see it on an XP box anyway. Look for anything beginning withmscor
as a first approximation.)