locked
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

Answers

  • Hi,

    see my answer at:
    http://forums.microsoft.com/sync/ShowPost.aspx?PostID=2865346&SiteID=75&mode=1

    HTH,
    Alex
    Monday, February 18, 2008 9:45 PM