Environment.DeviceType Property
July 26, 2012
Gets the type of device on which the application is running. Use this property to determine if your application is running on an actual device or on the device emulator.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)