Share via


DeviceContext Class

Definition

Encapsulates information about a device where an application is running.

public ref class DeviceContext sealed : Microsoft::VisualStudio::ApplicationInsights::DataContracts::IJsonSerializable
public sealed class DeviceContext : Microsoft.VisualStudio.ApplicationInsights.DataContracts.IJsonSerializable
type DeviceContext = class
    interface IJsonSerializable
Public NotInheritable Class DeviceContext
Implements IJsonSerializable
Inheritance
DeviceContext
Implements

Properties

Id

Gets or sets a device unique ID.

Language

Gets or sets the current display language of the operating system.

Model

Gets or sets the device model for the current device.

NetworkType

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.

RoleInstance

Gets or sets the role instance.

RoleName

Gets or sets the role name.

ScreenResolution

Gets or sets the current application screen resolution.

Type

Gets or sets the type for the current device.

Explicit Interface Implementations

IJsonSerializable.Serialize(IJsonWriter)

Applies to