ImageFileMachine 枚举
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
标识可执行文件的目标平台。
public enum class ImageFileMachine
C#
public enum ImageFileMachine
C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum ImageFileMachine
type ImageFileMachine =
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type ImageFileMachine =
Public Enum ImageFileMachine
- 继承
- 属性
名称 | 值 | 说明 |
---|---|---|
AMD64 | 34404 | 针对 64 位 AMD 处理器。 |
ARM | 452 | 针对 ARM 处理器。 |
I386 | 332 | 针对 32 位 Intel 处理器。 |
IA64 | 512 | 针对 64 位 Intel 处理器。 |
若要获取模块的此值,请使用 Module.GetPEKind 方法。
备注
此枚举中的值对应于非托管 Windows API 中IMAGE_FILE_MACHINE_I386、IMAGE_FILE_MACHINE_IA64和IMAGE_FILE_MACHINE_AMD64常量,这些常量由非托管 GetPEKind
函数访问。
产品 | 版本 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |