Environment Properties

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Environment type exposes the following members.

Properties

  Name Description
DeviceType 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.

Top

See Also

Reference

Environment Class

Microsoft.Devices Namespace