views:

2048

answers:

1

In .Net, I would like to enumerate all loaded assemblies over all AppDomains. Doing it for my program's AppDomain is easy enough AppDomain.CurrentDomain.GetAssemblies(). Do I need to somehow access every AppDomain? Or is there already a tool that does this?

+4  A: 

If you want an external tool you can use the process explorer

http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

Click on the needed process and it will show a list with all the dll used. Since the process contains all of the app domains, this should answer your question.

Programatically, check this:

http://stackoverflow.com/questions/383686/how-do-you-loop-through-currenlty-loaded-assemblies

Bogdan Gavril