|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
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.
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.