How to find out, if your app is running in an emulator, or on a real device?
In July’s beta, Microsoft has moved this property from System.Environment to Microsoft.Devices.Environment namespace.
//enum DeviceType contains: Device, Emulator this.IsEmulator = (Microsoft.Devices.Environment.DeviceType == DeviceType.Emulator);
Recent Comments