From a C# 32-bit application, In need to determine whether a given (unmanaged!) DLL file is 32-bit or 64-bit.
Does anybody have working sample code that can do this with managed code, for example by using FileStream (and not by calling Windows API functions)?