C# Класс Microsoft.HockeyApp.Services.DeviceService

The reader is platform specific and applies to Windows Phone Silverlight applications only.
Наследование: IDeviceService
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
IDeviceService Task
ReadSerializedContext FallbackDeviceContext
ReadSerializedContext FallbackDeviceContext

Открытые методы

Метод Описание
GetDeviceModel ( ) : string

Gets the device model.

GetDeviceType ( ) : string

Gets the type of the device.

GetDeviceUniqueId ( ) : string

Gets the device unique ID, or uses the fallback if none is available due to application configuration.

GetHostSystemLocale ( ) : string
GetNetworkType ( ) : int

Gets the network type.

GetOemName ( ) : Task

Gets the device OEM.

GetOperatingSystemName ( ) : string
GetOperatingSystemVersionAsync ( ) : Task

Приватные методы

Метод Описание
IDeviceService ( ) : Task
ReadSerializedContext ( ) : FallbackDeviceContext

Reads the serialized context from persistent storage, or will create a new context if none exits.

ReadSerializedContext ( string fileName ) : FallbackDeviceContext

Reads the serialized context from persistent storage, or will create a new context if none exits.

Описание методов

GetDeviceModel() публичный Метод

Gets the device model.
public GetDeviceModel ( ) : string
Результат string

GetDeviceType() публичный Метод

Gets the type of the device.
public GetDeviceType ( ) : string
Результат string

GetDeviceUniqueId() публичный Метод

Gets the device unique ID, or uses the fallback if none is available due to application configuration.
public GetDeviceUniqueId ( ) : string
Результат string

GetHostSystemLocale() публичный Метод

public GetHostSystemLocale ( ) : string
Результат string

GetNetworkType() публичный Метод

Gets the network type.
public GetNetworkType ( ) : int
Результат int

GetOemName() публичный Метод

Gets the device OEM.
public GetOemName ( ) : Task
Результат Task

GetOperatingSystemName() публичный Метод

public GetOperatingSystemName ( ) : string
Результат string

GetOperatingSystemVersionAsync() публичный Метод

public GetOperatingSystemVersionAsync ( ) : Task
Результат Task