Windows Phone 7 Tip (7) -- 如何判断app在模拟器中运行
Microsoft.Devices.Environment.DeviceType
// Summary:
// Defines the device type values used by the Microsoft.Devices.Environment.DeviceType
// property.
public enum DeviceType
{
// Summary:
// The device type is an actual device.
Device = 0,
//
// Summary:
// The device type is a device emulator.
Emulator = 1,
}