BadImageFormatException Class

The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid.