How to enumerate running processes managed by CLR?
Someone asked on Stack Overflow:
How to enumerate running processes? What about app domains?
Would there be any security-related gotchas?
I would be comfortable with .NET 4.0 only, Windows 7/Windows Server 2008 R2-only solution.
P.S.: This is what I am trying to do… ProcessExplorer.NET question
I posted the following answer, which was chosen as the accepted answer and received 1 upvote:
System.Diagnostics.Process.GetProcesses() will list all the running processes as Process objects.
Originally posted on Stack Overflow — 1 upvotes (accepted answer). Licensed under CC BY-SA.