Enumerate Assembly Attributes?

  • Thread starter Thread starter xenophon
  • Start date Start date
X

xenophon

How to do? I can enumerate them for types in an assembly, but not on
an assembly itself.

Thanks.
 
Hi

In addition, you may try the code below.

Assembly ass = Assembly.GetExecutingAssembly(); //Get the assembly
reference.
object[] objs =ass.GetCustomAttributes(true);//enum the attribute


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Is there a way to get this info from another assembly in the asm cach
without loading it first?
 
Back
Top