Gives applications access to information about the environment in which they are running.
| C# | Visual Basic |
public static class Environment
Public NotInheritable Class Environment
| All Members | Properties | ||||
| Icon | Member | 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.
|
| Object | |
| Environment | |