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.
| C# | Visual Basic |
public static DeviceType DeviceType { get; }
Public Shared ReadOnly Property DeviceType As DeviceType Get