共用方式為


DeviceContext Class

Definition

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.

Applies to