[Mono-dev] Getting the list of all AppDomains in a process
robertj at gmx.net
Fri Feb 12 13:24:58 EST 2010
On 12.02.2010 18:41, Jonathan Pryor wrote:
> On Fri, 2010-02-12 at 16:55 +0100, Robert Jordan wrote:
>> 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.
> This is something that hadn't occurred to me.
> It also wouldn't allow enumeration over ALL AppDomains, just over those
> that a particular AppDomainManager created. This may be sufficient for
> the desired purposes, but it's certainly not a "catch-all" solution.
The OP didn't mention a cach-all solution.
Since managed AppDomainManagers are used in security contexts,
I doubt they won't see *ALL* regular domains of a regularly
hosted runtime (this rules out IIS & MS SQL):
More information about the Mono-devel-list