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

Robert Jordan robertj at gmx.net
Fri Feb 12 10:55:14 EST 2010


On 12.02.2010 16:40, Jonathan Pryor wrote:
> 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.

AppDomainManager is a base class that can be used to implement
an own manager. Overriding CreateDomain and maintaining a list
of created appdomains shouldn't take more the 2 line of code.

Robert



More information about the Mono-devel-list mailing list