multiple device listing

Apr 14, 2011 at 12:47 PM

Hello. Forgive me for this simple question as I am new to development. I have created an application which connects to a windows mobile 6.1 device. I can move files without issue. My next step in the application is to acquire a list of connected devices and loop through them to copy and update files. Would someone be kind enought to post the code which would enable me to perform this function. Thanks for your help.

Apr 14, 2011 at 3:24 PM

Currently the RAPI library from Microsoft which is wrapped by this library only supports one connected device. To do what you're asking, you would need to listen for the DeviceConnected and DeviceDisconnected events on RemoteDeviceManager and plug in each device. When you get the DeviceConnected event you can do your updates. When you get a DeviceDisconnected event you can interrupt your updates or just idly wait for the next device.

Apr 16, 2011 at 1:08 AM

Thank you.