After reading this comment
If it is built in "any cpu", it will show up as 32bit in dumpbin headers.
I would like to know how I can tell a regular 32-bit program from an AnyCPU program. I would prefer to do this from the command line if possible. I tried
dumpbin YourProgram.exe /headers
on a program of each type, but could not tell them apart in this way.
Compare these two
So if you see
wow64.dll
then it is 32-bit, otherwise the program is 64-bit capable.