Help ! How can I perform a preview using C# and MSF ?? RRS feed

  • Question

  • Hello all,

    I am new to MSF.
    I wish to use it to sync files and \ or directories.
    I've already started coding what I need, and it seems to be working great.
    The desired file \ folder are synced.
    The only problem I have is - I wish to perform a check before I start syncing and preview if there is anything to sync in the desired operation - how do I do it ?
    I've seen that it is possible to do so somehow - as SyncToy v2.0 can perform PREVIEW ...

    How can I implement it ?
    Can anyone point me in the right direction please ?

    I've already gone over all the data members and attributes SyncAgent has and FileSyncProvider has with no luck.

    By the way - hooking the DetectedChangesEventArgs doesn't seem to work - as the callback function is never called , not when there are changes detected and not when there aren't any changes detected  ...

    Please someone - help !
    Monday, February 18, 2008 4:40 PM


  • Hi,

    see my answer at:

    Monday, February 18, 2008 9:45 PM