DeviceContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates information about a device where an application is running.
public sealed class DeviceContext
type DeviceContext = class
Public NotInheritable Class DeviceContext
- Inheritance
-
DeviceContext
Properties
Id |
Gets or sets a device unique ID. |
Language |
Obsolete.
Gets or sets the current display language of the operating system. |
Model |
Gets or sets the device model for the current device. |
NetworkType |
Obsolete.
Gets or sets the IANA interface type for the internet connected network adapter. |
OemName |
Gets or sets the device OEM for the current device. |
OperatingSystem |
Gets or sets the operating system name. |
ScreenResolution |
Obsolete.
Gets or sets the current application screen resolution. |
Type |
Gets or sets the type for the current device. |