System.Reflection.ImageFileMachine Enumeration

Identifies the platform targeted by an executable.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum ImageFileMachine

Remarks

To obtain this value for a module, use the Module.GetPEKind(PortableExecutableKinds@, ImageFileMachine@) method.

Note:

The values in this enumeration correspond to the constants IMAGE_FILE_MACHINE_I386, IMAGE_FILE_MACHINE_IA64, and IMAGE_FILE_MACHINE_AMD64 in the unmanaged Win32 API, which are accessed by the unmanaged GetPEKind function.

Members

Member NameDescription
AMD64

Targets a 64-bit AMD processor.

ARM

Targets an ARM processor.

I386

Targets a 32-bit Intel processor.

IA64

Targets a 64-bit Intel processor.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0