Compartilhar via


IRemoteToolDevice (Compact 2013)

3/26/2014

This interface represents a device in the Remote Tool Server, and provides common functionality for communicating with a remote agent running on a device.

Method

Description

IRemoteToolDevice::Advise

Registers a callback that is called when the device connection status changes.

IRemoteToolDevice::DeleteDirectory

Deletes a directory from the device's file system.

IRemoteToolDevice::DeleteFile

Deletes a file from the device's file system.

IRemoteToolDevice::DeployService

Deploys a service (package) to the device, starts the main executable in the service, and then establishes a stream-based connection with the main executable in the service.

IRemoteToolDevice::EnumerateProcesses

Enumerates the processes running on a device.

IRemoteToolDevice::GetOSVer

Gets the operating system version of the device.

IRemoteToolDevice::IsDeviceConnected

Indicates whether a device is currently connected.

IRemoteToolDevice::LaunchProcess

Launches a process on the device.

IRemoteToolDevice::MakeDirectory

Creates a new directory in the device's file system.

IRemoteToolDevice::ReceiveFile

Gets a file from the device's file system and copies it to the desktop.

IRemoteToolDevice::ReleaseProcessHandle

Releases a process handle obtained from IRemoteToolDevice::EnumerateProcesses or IRemoteToolDevice::LaunchProcess.

IRemoteToolDevice::SendFile

Puts a file from the desktop into the device's file system.

IRemoteToolDevice::TerminateProcess

Terminates a process using a process handle obtained from IRemoteToolDevice::EnumerateProcesses or IRemoteToolDevice::LaunchProcess.

IRemoteToolDevice::UnAdvise

Unregisters the callback registered by IRemoteToolDevice::Advise.

The following table displays a list of the public properties associated with this interface.

Property

Description

CPU

(Read-only) The CPU type.

Description

(Read-only) The description of the device, which is typically the device name.

DeviceID

(Read-only) The ID of the device.

See Also

Reference

Remote Tools Server Interfaces