Search code examples
microsoft-sync-framework

How to get a protocol of synchronisation?


I am trying to get a protocol of all the changes that have been done in the sync session. Perfect would be to get the changes as they happen. I tried to attach to the events of the SyncOrchestrator, but could not get any filenames or what kind of changes have been made. I am trying to display something like

10:53:25 sendraw.txt uploaded

10:53:27 image.jpg deleted


Solution

  • It is described here at the bottom, how to do it: https://msdn.microsoft.com/en-us/sync/bb887623.aspx This does however only work for FileSyncProvider. On the other hand for my CustomProvider I can take care of the events myself. Thanks a lot to JuneT!!!