C# Class DroidExplorer.Configuration.KnownDeviceManager

Inheritance: RegistrySettings
显示文件 Open project: camalot/droidexplorer

Public Methods

Method Description
DeleteKnownDevice ( string device ) : void

Deletes the known device.

GetDeviceFriendlyName ( string device ) : string

Gets the name of the device friendly.

GetDeviceGuid ( string device ) : System.Guid

Gets the device GUID.

GetKnownDevices ( ) : List

Gets the known devices.

SetDeviceFriendlyName ( string device, string name ) : void

Sets the name of the device friendly.

Protected Methods

Method Description
KnownDeviceManager ( ) : System

Initializes a new instance of the KnownDeviceManager class.

Method Details

DeleteKnownDevice() public method

Deletes the known device.
public DeleteKnownDevice ( string device ) : void
device string The device.
return void

GetDeviceFriendlyName() public method

Gets the name of the device friendly.
public GetDeviceFriendlyName ( string device ) : string
device string The device.
return string

GetDeviceGuid() public method

Gets the device GUID.
public GetDeviceGuid ( string device ) : System.Guid
device string The device.
return System.Guid

GetKnownDevices() public method

Gets the known devices.
public GetKnownDevices ( ) : List
return List

KnownDeviceManager() protected method

Initializes a new instance of the KnownDeviceManager class.
protected KnownDeviceManager ( ) : System
return System

SetDeviceFriendlyName() public method

Sets the name of the device friendly.
public SetDeviceFriendlyName ( string device, string name ) : void
device string The device.
name string The name.
return void