c# - How to send a database to SkyDrive? -
i have database, access linq sql , storing texts in it.
i want backup of skydrive. mobile app, , should not big. thought of converting xml , saving text file in skydrive.
this doesn't good, found struggle errors circular references,etc.
what best approach purpose? thanks.
might want start blog post wrote - adding skydrive support windows phone application. need download live sdk (unless want use rest api manually, can see no reason @ point).
uploading simple after that, given obtained proper session init:
client = new liveconnectclient(app.microsoftaccountsession); client.uploadcompleted += microsoftaccountclient_uploadcompleted; client.uploadprogresschanged += microsoftaccountclient_uploadprogresschanged; client.uploadasync("me/skydrive", binder.instance.currentlyuploading, stream, overwriteoption.overwrite);
Comments
Post a Comment