public static string GetArchitecture() { ProcessorArchitecture architecture = SystemInfoEstimate.GetProcessorArchitectureAsync().Result; switch (architecture) { case ProcessorArchitecture.Arm: return("arm"); case ProcessorArchitecture.X86: return("x86"); case ProcessorArchitecture.X64: return("x64"); case ProcessorArchitecture.Neutral: return("neutral"); case ProcessorArchitecture.Unknown: return("unknown"); default: return("unknown"); } }