A bit of searching returns this result: Which processes are running managed code and which version?
However I am wondering if there is a 'better' way then simply iterating though the loaded modules? It seems a little quirky to look for the string "mscorwks.dll". Reading though the Process Class on MSDN doesn't seem to point out an obvious solution.
Assumptions Made
- .NET 4.0
- I have a "Process" in hand
Thank you