ProcessorArchitecture 枚举

定义

标识可执行文件的目标平台的处理器和每字位数。

C#
public enum ProcessorArchitecture
C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum ProcessorArchitecture
继承
ProcessorArchitecture
属性

字段

名称 说明
Amd64 4

基于 x64 体系结构 的 64 位处理器。

Arm 5

ARM 处理器。

IA64 3

仅限 64 位 Intel Itanium 处理器。

MSIL 1

不特定于处理器和每字位数。

None 0

处理器和每字位数的未知或未指定的组合。

X86 2

32 位 Intel 处理器,位于本机上或位于 64 位平台 (WOW64) 的 Windows on Windows 环境中。

注解

并非所有 和 ImageFileMachine 的组合PortableExecutableKinds都描述了有效的 PE 文件类型。 ProcessorArchitecture是 和 ImageFileMachine 的组合PortableExecutableKinds集,用于描述托管代码的有效 PE 文件类型。

适用于

产品 版本
.NET Core 1.0, Core 1.1, 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 1.3, 1.4, 1.5, 1.6, 2.0, 2.1
UWP 10.0