HighTechTalks DotNet Forums  

How to Get the List of AppDomains in a Specific Process?

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss How to Get the List of AppDomains in a Specific Process? in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Laser Lu
 
Posts: n/a

Default How to Get the List of AppDomains in a Specific Process? - 03-22-2007 , 12:09 AM






Hi, can anybody tell me if it is possible to detect whether a process has some AppDomain(s) hosted, and how to get the list of all the hosted AppDomains within that process?

Reply With Quote
  #2  
Old   
Laser Lu
 
Posts: n/a

Default Re: How to Get the List of AppDomains in a Specific Process? - 03-22-2007 , 02:34 AM






Thanks for your reply!
And, is there any purely managed API?

"Mattias Sj?gren" <mattias.dont.want.spam (AT) mvps (DOT) org> wrote

Quote:
Hi, can anybody tell me if it is possible to detect whether a process has
some AppDomain(s) hosted, and how to get the list of all the hosted
AppDomains within that process?

Use the ICorPublish APIs.
http://msdn2.microsoft.com/en-us/library/ms231592.aspx


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.




Reply With Quote
  #3  
Old   
Jiho Han
 
Posts: n/a

Default Re: How to Get the List of AppDomains in a Specific Process? - 04-06-2007 , 03:51 PM



I had the same question, but I was hoping that I could find out using DbgClr
or an existing tool. Are there no such tools?

Thanks

"Mattias Sjögren" <mattias.dont.want.spam (AT) mvps (DOT) org> wrote

Quote:
Thanks for your reply!
And, is there any purely managed API?

No


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.