[Mono-dev] Getting the list of all AppDomains in a process

Jonathan Pryor jonpryor at vt.edu
Fri Feb 12 10:40:21 EST 2010


On Fri, 2010-02-12 at 13:10 +0100, Lionel Cuir wrote:
> Thank for the quick answer. Alas, the AppDomainManager is not a solution for
> us, as the assembly is not supposed to be in the GAC. 

I may be blind, but I don't see how AppDomainManager is a solution, as I
don't see any APIs that would actually allow AppDomain enumeration.

That said, if AppDomainManager did have an enumeration API, I fail to
see why it couldn't be used.  "[T]he assembly is not supposed to be in
the GAC" doesn't make sense to me -- assemblies loaded into an AppDomain
need not be from the GAC, and there is no requirement that they all be
from the GAC. (If there was such a requirement, you couldn't have
unsigned/non-GAC'd assemblies AT ALL.)

 - Jon




More information about the Mono-devel-list mailing list