>>>Does anyone know of a way to get the Pocket PC's DeviceId at runtime through ActiveSync?
>>>
>>
>>The way I ended up doing this was running a command line .NET app on the Pocket PC (launched via ActiveSync) which wrote the info out to a file, then retrieving the file.
>
>Interesting. Thanks for the idea.
>Are you using the RAPI class from OpenNetCF?
Actually, I needed to do this from a VFP app, so I wrote a wrapper to the API calls in VFP. I did use one of the classes from OpenNetCF to retrieve the device ID, though.
If you need any source, let me know.