查看DLL 版本 平台 x86 x64

Please use tool CorFlags.exe to view the header of the DLL to identify 
which target platform it is compiled to. Following are the instructions:
1. Open Visual Studio command prompt.
2. Type "CorFlags.exe <Assembly File Path>".
3. You will see its output like this:
Version : v2.0.50727
CLR Header : 2.5
PE : PE32
CorFlags : 11
ILONLY : 1
32BIT : 1
Signed : 1
4. The PE and 32BIT flags can be used to determine the type of the 
assembly, please look up the following table:
anycpu: PE = PE32 and 32BIT = 0
x86: PE = PE32 and 32BIT = 1
64-bit: PE = PE32+ and 32BIT = 0

posted @ 2011-09-26 16:52  chinachen  阅读(972)  评论(1编辑  收藏  举报