Contango
Contango

Reputation: 80428

How do I test an existing managed .NET .dll to see if its 32-bit or 64-bit?

How do I test an existing managed .NET .dll to see if its 32-bit or 64-bit?

Known dead ends:

Upvotes: 6

Views: 1592

Answers (2)

Iain
Iain

Reputation: 6472

Start up Visual Studio 2008 Command Prompt, go to the folder your assembly is in type "corflags.exe assemblyName.dll" and you should get the following info back

Version   : v4.0.30319
CLR Header: 2.5
PE        : PE32
CorFlags  : 1
ILONLY    : 1
32BIT     : 0
Signed    : 0

Upvotes: 10

Related Questions