title: Is it possible to enumerate the AppDomains in a remote process?
body: <p>I have seen <a href="https://stackoverflow.com/questions/388554/list-appdomains-in-process">this question</a> and a number of blog posts related to using <code>mscoree.CorRuntimeHostClass.EnumDomains</code> method to enumerate the AppDomains within the <em>current</em> process, but I'm wondering if there's a way to enumerate the AppDomains within a separate process on the same machine.</p>
  
  <p>I'd like to be able to write a simple console or even WinForms app that could take a process ID and be able to give me some information about the AppDomains within that process. Is this even possible? I assume it is to some degree given that Process Explorer can give you a list of the AppDomains for a .NET process. I just want to know how to accomplish this with C# code.</p>