As noted here , I added the code to my handheld application to (try) to prevent some types of files (by extension) from being synced with a PC. But this does not work if the user on the PC uses ActiveStync to enable file sharing. At the same time, regardless of the settings of the manual registry, it copies files from a Pocket PC to a PC (from a folder \My Documentsto a PC folder C:\Users\clay\Documents\Documents on Clay Device).
Is there a way to programmatically prevent (on the handheld/WindowsCE side ) this synchronization? Or is it just a question of the user reaping what they sow when they choose file synchronization?
UPDATE
See this one (I do not completely prevent synchronization, but I prevent the synchronization of files that I do not want to synchronize, make sure that the section FileSyncPathdoes not coincide with where I save the data in question).
source
share