AppDomains at runtime

A

Arjan de Haan

Hi.

Is it possible to list during runtime the different AppDomains which are
created within a process?

Tx.
....Arjan...
 
A

Arjan de Haan

Peter said:
15 seconds with Google turned up this:

Hm. Searched with Google on AppDomains in combination with various other
terms, but not with enumerating.
http://weblogs.asp.net/nunitaddin/archive/2003/02/07/1992.aspx


That was five years ago, so maybe something's been added to .NET, but I
don't see it if it has been. You probably need to go unmanaged to get
the information.

See here for more details:
http://msdn.microsoft.com/en-us/library/ms164320.aspx

Hopefully the interface still has an implementation in the .NET 2.0 CLR;
the documentation states that a new interface has superseded this one,
and the new interface doesn't have the EnumDomains() functin in it.

Thank you Pete. I'll probably start with the first link you provided
which seems like easier to implement.


....Arjan...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top