As suggested by nobugz, an easier way to see the CLR Flags is using the corflags
utility, which is part of the .NET 2.0 SDK.
If no options are specified, the flags for the given image are displayed:
C:>corflags Foo.dll
Version : v2.0.50727
CLR Header: 2.5
PE : PE32
CorFlags : 9
ILONLY : 1
32BIT : 0
Signed : 1
The "ILONLY" bit indicates whether this is a pure managed assemby, or a mixed assembly.
Note that the comment from user 'nobugz' suggests these flags are not guaranteed to be correct, so this method may not be foolproof.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…