G
Guest
I was wondering if its possible to extracts metadata from an assembly without
loading it. For example: consider an app which loads dlls from a specified
directory and is only interested in dlls from a specific vendor. Can I
retrieve this information on a file-level. I could of course create a
separate AppDomain and sandbox the dlls, extract metadata and unload the
appdomain, then reload the assemblies i'm interested in. The operation is
done at startup, and such an approach would generate a lot of overhead at a
time where speed is of essence. Any alternative suggestions?
loading it. For example: consider an app which loads dlls from a specified
directory and is only interested in dlls from a specific vendor. Can I
retrieve this information on a file-level. I could of course create a
separate AppDomain and sandbox the dlls, extract metadata and unload the
appdomain, then reload the assemblies i'm interested in. The operation is
done at startup, and such an approach would generate a lot of overhead at a
time where speed is of essence. Any alternative suggestions?