Distinguishing between a mngd & unmngd assemblies

  • Thread starter Thread starter Guest
  • Start date Start date
Nadav,
And how can I distinguish between a mngd & mixed mode assem?

Humm... good question. I'm not sure there's a 100% sure way of doing this,
but, one good indicator would be to look for the COMIMAGE_FLAGS_ILONLY flag
in the COR header of the PE file. Check out the corhdr.h file that comes
with the .NET Framework SDK for details on the header and the flags, and
the SILO (Set-IL-Only) tool source code that comes with VC++ (
http://msdn.microsoft.com/library/d...ple/html/vcsamsetilonlysamplesetilonlybit.asp)
 
Back
Top