Find strong name signature without calling LoadAssembly

Posted by Todd Kobus on Stack Overflow See other posts from Stack Overflow or by Todd Kobus
Published on 2010-05-02T09:04:53Z Indexed on 2010/05/02 9:18 UTC
Read the original article Hit count: 246

Filed under:

When reading a Windows PE file directly, I can't seem to find the strong name of a delay signed assembly. I can get to the CLR Header and read all the CLR header entries including the flags and the StrongNameSignature field. Unfortunately in a delay signed assembly the StrongNameSignature is zeroed out. Is the information in the MetaData directory specified within the CLR header? If so does anyone have an example of how to read this table?

I am not interested in calling SN.exe or loading the assembly.

© Stack Overflow or respective owner

Related posts about c#