/// <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 : ""; } }
private async void GetByPathButton_Click(object sender, EventArgs e) { var data = await OneDriveApi.GetChildrenByPath("E-books"); JsonResultTextBox.Text = data.OriginalJson; }
/// <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"; }