RuntimeInformation.OSArchitecture プロパティ

定義

現在のアプリが実行されているプラットフォーム アーキテクチャを取得します。

public:
 static property System::Runtime::InteropServices::Architecture OSArchitecture { System::Runtime::InteropServices::Architecture get(); };
public static System.Runtime.InteropServices.Architecture OSArchitecture { get; }
static member OSArchitecture : System.Runtime.InteropServices.Architecture
Public Shared ReadOnly Property OSArchitecture As Architecture

プロパティ値

現在のアプリが実行されているプラットフォーム アーキテクチャ。

注釈

戻り値は、基になるオペレーティング システムの実際のアーキテクチャを表すことを目的としています。 プロセスの実行に関係する可能性があるアーキテクチャ エミュレーション インフラストラクチャを無視することをお勧めします。 戻り値には、Windows および macOS オペレーティング システムに組み込まれているエミュレーションが考慮されます。 戻り値では、Linux オペレーティング システムで通常使用される QEMU を使用したエミュレーションは考慮されません。

適用対象