Device Methods

Include Protected Members
Include Inherited Members

The Device type exposes the following members.

Methods

 

Name

Description

Public method

Connect

Establishes a connection to the current device or emulator.

Public method

Disconnect

Disconnects the existing connection to a device or emulator.

Public method

Equals

Checks if the current object and the specified object are the same. (Overrides Object.Equals(Object).)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetFileDeployer

Returns a FileDeployer object that is used to copy files between the device and desktop computer.

Public method

GetHashCode

Returns the hash code of this object. (Overrides Object.GetHashCode().)

Public method

GetProperty

Returns the value of a device property when given the name of the property.

Public method

GetRemoteAgent

Returns a RemoteAgent associated with the supplied package ID.

Public method

GetRemoteProcess

Creates and returns an instance of RemoteProcess that is used to start or end a process on the device.

Public method

GetRunningProcesses

Returns list of processes running on the device.

Public method

GetSystemInfo

Gets the system information of the device.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

IsConnected

Checks whether the device is connected.

Public method

IsEmulator

Checks whether the device is an emulator or a physical device.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ProvisionDevice

Provisions the device by calling DMProcessConfigXML and passing the given XML string.

Public method

ToString

Returns the name of the device. (Overrides Object.ToString().)

Top

See Also

Reference

Device Class

Microsoft.SmartDevice.Connectivity Namespace