Windows Phone 7 Devicetype
von Andreas Bruckner | 0 Kommentare »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);
Share and Enjoy:








