How to detect if a UWP/Iot Core application is being run on an ARM processor or a desktop processor (x86/x64)? Alternatively, is there any other way to detect if the application is run on desktop Windows or on a device? It would also help to detect if the application was launched in Visual Studio or not.
I already tried the Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation class but it does not provide this information.
Googling has not taken me further.