How to get assembly info

  • Thread starter Thread starter P.Sunil
  • Start date Start date
P

P.Sunil

How to Get assembly information..
that means constructor info,properties,methods of an
assembly.
I heard that Assembly class can be used for this...
Please Let me know how to use this class.
Is it possible to find the info of an Assembly (i.e dlls)
that comes defaultly with .NET like
(System.dll,System.windows.forms.dll)


Please give an example...
 
Hi,

It sounds like you are looking for information on reflection. To get a list
of the types from an Assembly you can call the GetTypes method on the
Assembly. Give a type you can call the GetMember/GetMembers,
GetConstructor/GetConstructors, GetField/GetFields, GetMethod/GetMethods
etc. There are plenty of samples for these and many more funtions in the
MSDN documentation.

Hope this helps

Chris Taylor
 
Back
Top