C# Class Microsoft.HockeyApp.Services.DeviceService

The reader is platform specific and applies to Windows Phone Silverlight applications only.
Inheritance: IDeviceService
Exibir arquivo Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Private Properties

Property Type Description
IDeviceService Task
ReadSerializedContext FallbackDeviceContext
ReadSerializedContext FallbackDeviceContext

Public Methods

Method Description
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

Private Methods

Method Description
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.

Method Details

GetDeviceModel() public method

Gets the device model.
public GetDeviceModel ( ) : string
return string

GetDeviceType() public method

Gets the type of the device.
public GetDeviceType ( ) : string
return string

GetDeviceUniqueId() public method

Gets the device unique ID, or uses the fallback if none is available due to application configuration.
public GetDeviceUniqueId ( ) : string
return string

GetHostSystemLocale() public method

public GetHostSystemLocale ( ) : string
return string

GetNetworkType() public method

Gets the network type.
public GetNetworkType ( ) : int
return int

GetOemName() public method

Gets the device OEM.
public GetOemName ( ) : Task
return Task

GetOperatingSystemName() public method

public GetOperatingSystemName ( ) : string
return string

GetOperatingSystemVersionAsync() public method

public GetOperatingSystemVersionAsync ( ) : Task
return Task