This documentation is archived and is not being maintained.

Microsoft.SmartDevice.Connectivity Namespace

Visual Studio 2008

This namespace contains types that make up the desktop side of the Smart Device Connectivity API. Use the Smart Device Connectivity API in your managed applications to establish a desktop-to-device connection. This API enables you to focus on writing remote tools and plug-ins, while the Smart Device Connectivity API handles the device interconnectivity and transport mechanisms details.

Visual Studio Remote Tools for Device Projects such as Remote File Viewer and Remote Process Viewer are good examples of what you can do with the Smart Device Connectivity API. For more information, see Controlling Devices with the Smart Device Connectivity API.

The classes in this namespace are classified into the following categories.




Datastore enumeration APIs

Enumerates the list of platforms and devices listed in the Datastore.



Connectivity APIs

Gets device information and establishes a connection to the device.


Deployment and service APIs

Deploys files and packages, lists remote files and processes, starts services, and other services.



Custom data exchange APIs

Exchanges custom data between the desktop application and a device agent application.





Public classDatastoreExceptionThrown when there is a problem related to the Datastore.
Public classDatastoreManagerAccesses information in the Datastore and provides methods to enumerate and get Platform objects in the desktop computer's Datastore.
Public classDeviceRepresents a device or emulator that is based on Windows Embedded CE and provides methods to provision, get information, and connect to a device.
Public classDeviceNotConnectedExceptionThrown in scenarios where the device is not connected.
Public classDeviceNotFoundExceptionRepresents all exceptions in scenarios where the device is not found.
Public classDevicePacketStreamExchanges data between a desktop application and a device agent application by reading and writing objects of type Packet.
Public classFileDeployerUsed to transfer files between the smart device and the desktop computer.
Public classObjectIdEncapsulates the unique ID required for various classes of this assembly.
Public classPacketHolds data and is used by the DevicePacketStream class to transfer data between a smart device and a desktop computer.
Public classPlatformRepresents a Windows CE based platform, such as Windows Mobile 5.0 Pocket PC, that is registered in the Datastore.
Public classPlatformNotFoundExceptionThrown when the platform cannot be found.
Public classPropertyNotFoundExceptionRepresents all exceptions in scenarios where the property is not found.
Public classRemoteAgentUsed to deploy device agent applications to the device and exchange data between the desktop computer and the smart device.
Public classRemoteProcessRepresents a process on the device that can be started and stopped.
Public classSmartDeviceExceptionCovers the exception cases in unmanaged COM layer.
Public classSystemInfoStores device information such as CPU information, battery life, amount of memory, and operating system version.

Public enumerationDataTypeIndicates the type of object in the Packet.
Public enumerationDevice.ConfigActionsSpecifies the action to take when provisioning a device.
Public enumerationInstructionSetTypeIndicates the instruction set type of the device's CPU.
Public enumerationProcessorArchitectureTypeIndicates the device's processor architecture type.