Exemple #1
0
        /// <summary>
        /// Gets the items in the OneDrive folder called 'Demo'
        /// </summary>
        private async void GetByPathButton_Click(object sender, EventArgs e)
        {
            var data = await OneDriveApi.GetChildrenByPath("Test");

            JsonResultTextBox.Text = data != null ? data.OriginalJson : "Not available";

            if (data.NextLink != null)
            {
                var nextData = await OneDriveApi.GetNextChildrenByPath(data.NextLink);

                JsonResultTextBox.Text += nextData != null ? nextData.OriginalJson : "";
            }
        }
Exemple #2
0
        private async void GetByPathButton_Click(object sender, EventArgs e)
        {
            var data = await OneDriveApi.GetChildrenByPath("E-books");

            JsonResultTextBox.Text = data.OriginalJson;
        }
Exemple #3
0
        /// <summary>
        /// Gets the items in the OneDrive folder called 'Demo'
        /// </summary>
        private async void GetByPathButton_Click(object sender, EventArgs e)
        {
            var data = await OneDriveApi.GetChildrenByPath("Demo");

            JsonResultTextBox.Text = data != null ? data.OriginalJson : "Not available";
        }