When publishing a DLL, you can select the x86 mode, x64 mode, and any CPU mode. So how do you know the supported systems for published DLL files?
Method 1: Reflector
For. Net DLL files, use the reflector tool for identification:
ThePlatform targetIndicates the target system selected by the DLL during compilation.
Method 2: corflags.exe
Use the corflags tool that comes with vistual Studio. NET to open the vs.net command window:
Enter coreflags <assembly path>:
The PE and 32bit values show the number of system bits supported by the DLL:
Anycpu: PE = pe32 and 32bit = 0
X86: PE = pe32 and 32bit = 1
X64: PE = pe32 + and 32bit = 0
(See: http://blogs.msdn.com/ B /gauravseth/archive/2006/03/07/545104.aspx)
Method 3: dumpin.exe
Run the dumpin command in vs.net tools to view the following information:
Dumpbin/headers <assembly path>
View the machine attributes to identify the number of supported system digits.
This method also allows you to view non-. Net compiled DLL information.