Hi Urs,
Thanks for your post. As I understand, you use AppDomain.GetAssemblies to
gets the assemblies that have been loaded into this application domain, and
you want to know which assemblies are loaded dynamically. Please correct me
if there is any misunderstanding. Now I'd like to share the following
information with you:
I suggest to use Reflection to check the assemblies which are referenced
statically, and the rest are loaded dynamically. Please take a look at
ManifestResourceInfo.ReferencedAssembly property:
ManifestResourceInfo.ReferencedAssembly Property
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemReflectionManifestResourceInfoClassReferencedAssemblyTopic.asp
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! --
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.