How can I programmatically prevent the PC connected to a handheld device from file syncing (grabbing files from the device)?
问题 As noted here, I added code to my handheld app to (attempt to) prevent certain types of files (by extension) from being synced to the PC. But this doesn't work if the user, on the PC, uses ActiveStync to enable file sharing. On doing so, regardless of handheld registry settings, it copies files from the handheld to the PC (from the handheld's \My Documents folder to the PC's C:\Users\clay\Documents\Documents on Clay's Device folder). Is there a way to programmatically prevent (on the handheld