Udostępnij za pośrednictwem


Unmanaged Device-Side Smart Device Connectivity API

Visual C++ device projects that use this API are called device agent applications. Desktop applications that use the Smart Device Connectivity API can deploy device agents to the device and communicate with them by exchanging packet data. By using this library, you can programmatically exchange data between device and desktop while letting the Smart Device Connectivity API handle interconnectivity and transport mechanism details.

To use the unmanaged device-side Smart Device Connectivity API in your smart device project, complete the following tasks:

  • Include DeviceAgentTransport.h in the project.

    By default, the header file is located at drive:\Program Files\Common Files\microsoft shared\CoreCon\1.0\Target\Include.

  • Deploy DeviceAgentTransport.dll to the smart device.

    By default, the library is located in drive:\Program Files\Common Files\microsoft shared\CoreCon\1.0\Target\wce400\cpu.

For more information, see Controlling Devices with the Smart Device Connectivity API.

Note

To create a device agent by using Visual C# or Visual Basic, use Microsoft.SmartDevice.DeviceAgentTransport.

In This Section

See Also

Concepts

Controlling Devices with the Smart Device Connectivity API

Other Resources

Smart Device Connectivity API Reference