Пример #1
0
        private async void oneDriveButton_Click(object sender, EventArgs e)
        {
            var userId  = "D0396257098C3B52";
            var client  = new LiveConnectClient(AuthSession);
            var oClient = new OneDriveClient(client, userId);

            await oClient.MoveFile(this.pathTextBox.Text, this.destPathTextBox.Text);

            //var sb = new StringBuilder();
            //foreach (var pair in result.Result)
            //{
            //    sb.AppendLine(pair.Key + " : " + pair.Value);
            //}
            // MessageBox.Show(result);
        }