Many processes use or host the .NET run-time.
For Microsoft implementations of the CLR, this is a quick trick of listing them:
[sourcecode language=”powershell”]
tasklist /m "mscor*"
tasklist /m "clr.dll"
[/sourcecode]
The first statement lists all processes that use or host .NET 1.x through 3.x.
The last statement lists all processes that user or host .NET 4.0
On my system, this is the output:
[sourcecode language=”text”][/sourcecode]
C:\Users\jeroenp>tasklist /m “mscor*”
Image Name PID Modules
========================= ======== ============================================
explorer.exe 1696 mscoree.dll, mscoreei.dll
PrivacyIconClient.exe 7256 MSCOREE.DLL, mscoreei.dll, mscorwks.dll,
mscorlib.ni.dll, mscorjit.dll
PaintDotNet.exe 459736 MSCOREE.DLL, mscoreei.dll, mscorwks.dll,
mscorlib.ni.dll, mscorjit.dll
C:\Users\jeroenp>tasklist /m “clr.dll”
Image Name PID Modules
========================= ======== ============================================
explorer.exe 1696 clr.dll
[/sourecode]
–jeroen
via: process – How to check if a program is using .NET? – Stack Overflow.





