Currently, I am trying to connect a WPF C# app to my Dropbox. I have the folders organized in the way you see in the image. Leaving the string empty opens the "Student" folder, however I want my app to list the contents "code" folder. I have tried using "code", "\\code", "/code" but the app always throws a path not found error.
I am not sure what I am doing wrong, any help is appreciated! If you need any more information, please let me know.
Thank you!

private async Task<List<FolderViewModel>> FetchFoldersAsync(string accessToken)
{
var items = new List<FolderViewModel>();
using (var dbx = new DropboxClient(accessToken))
{
var list = await dbx.Files.ListFolderAsync("");
MessageBox.Show(list.Entries.ToString());
foreach (var item in list.Entries)
{
BitmapImage thumbnail = null;
if (!item.IsFolder)
{
thumbnail = await FetchThumbnailAsync(dbx, item.PathDisplay);
}
items.Add(new FolderViewModel
{
Name = item.Name,
Thumbnail =
thumbnail ?? new BitmapImage(new
Uri("pack://application:,,,/Resources/Images/folder-icon.png",
UriKind.RelativeOrAbsolute)),
});
}
}
return items;
}