Hey,
On 9/26/07, Kid <[EMAIL PROTECTED]> wrote:
> I'm using Mono.cecil to generate a tool like ILDasm( only better). I'm
> having some trouble extracting header information. I know I have to
> use Cecil.Binary.Image and then get the individual headers. But how do
> I parse it out. I mean I would like to display the contents of the
> headers.
>
> I have spent hours on this and I'm not getting anywhere.
Actually I don't quite get your issue.
Once you have read a Mono.Cecil.Binary.Image using:
Image img = Image.GetImage ("file.dll");
You have access to its headers, like
img.CLIHeader
and friends.
--
Jb Evain <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---