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.

signed letter b

Dad. Geek. Gamer. Software developer. Cloud user. Old Car enthusiast.  Blogger.


Top Posts


profile for Nate on Stack Exchange, a network of free, community-driven Q&A sites
a proud member of the blue team of 512KB club
Thoughts, opinions, and ideas shared here are my own. © 2026 Nate Bross.