This sample code provides an example of how to write a custom synchronization handler.
InkFileSync Sample
InkFileSync Sample