Delen via


/CLRHEADER

/CLRHEADER file

Remarks

where:

  • file
    An image file built with /clr.

Remarks

CLRHEADER displays information about the .NET headers used in any managed program. The output shows the location and size, in bytes, of the .NET header and sections in the header.

Only the /HEADERS DUMPBIN option is available for use on files produced with the /GL compiler option.

When /CLRHEADER is used on a file that was compiled with /clr, there will be a clr Header: section in the dumpbin output. The value of flags indicates which /clr option was used:

  • 0 -- /clr (image may contain native code).

  • 1 -- /clr:safe (image is MSIL only, able to run on any CLR platform, and possibly verifiable).

  • 3 -- /clr:pure (image is MSIL only, but only able to run on x86 platforms).

You can also programmatically check if an image was built for the common language runtime. For more information, see How to: Determine if an Image is Native or CLR.

See Also

Reference

DUMPBIN Options