Dela via


SystemDiagnosticInfo.PreferredArchitecture Property

Definition

Gets the system's preferred processor architecture.

public:
 static property ProcessorArchitecture PreferredArchitecture { ProcessorArchitecture get(); };
static ProcessorArchitecture PreferredArchitecture();
public static ProcessorArchitecture PreferredArchitecture { get; }
var processorArchitecture = SystemDiagnosticInfo.preferredArchitecture;
Public Shared ReadOnly Property PreferredArchitecture As ProcessorArchitecture

Property Value

The system's preferred processor architecture.

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Applies to