metadata - How to read .net assembly's meta data table -


i'm reading jeffery richter's book "clr via c#". mentioned clr metadata table contains typeref , memberref section.

i want build call graph reading these memberref , typeref information. best way so? after search, found read file directly using pe/clr file format. use native imetadataimport. wonder if there .net built-int classes or 3rd party libraries so?

thanks!

if want see metadata can use ildasm.exe.

example: ildasm.exe d: \ mytestasm.dll

next: view -> meta info -> show!

if want receive data code, can research 3rd party library mono:

http://www.mono-project.com/docs/tools+libraries/libraries/mono.cecil/

metadata part of il-code. if want see il code can see this: how access embedded assembly's metadata using imetadatadispenser.openscope?


Comments