How to enumerate loaded Assemblies in any given process/AppDomain?

  • Thread starter Thread starter Nobody
  • Start date Start date
If you get hold of an appdomain object, you can call upon the GetAssemblies
method to get an array of assembly objects.
 
Thats true. But since the publish APIs give me ICorPublishAppDomain
objects, not an actual "AppDomain" object... GetAssemblies is not an option.
Any other ideas?

~ Devin


Manoj G said:
If you get hold of an appdomain object, you can call upon the
GetAssemblies
method to get an array of assembly objects.

--
Manoj G [.NET MVP]
Site: http://www15.brinkster.com/manoj4dotnet
Blog: http://msmvps.com/manoj/

Nobody said:
I can enumerate Processes and AppDomains given the following example:

http://staff.develop.com/woodring/dotnet/#corpub

I end up with each AppDomain name and id of each managed process. But
how
can I now enumerate the Assemblies each AppDomain has loaded?

Thanks
 
Back
Top