PROPERTY

RuntimeInformation.ProcessArchitecture

Reports the architecture of the executing process. It can differ from the operating system architecture, for example when running an emulated process. It is not evidence that a different target binary can run.

Formal Syntax & Structure

csharp syntaxcsharp
RuntimeInformation.ProcessArchitecture

Working Example

Example Snippetcsharp
using System;using System.Collections.Generic;using System.Runtime.InteropServices;Console.WriteLine(RuntimeInformation.ProcessArchitecture); // Environment-dependent
C# & .NET Reference