I've read all two pages of existing questions about DropNet and I still can not understand why I can not upload a file from a folder on my PC to my dropbox using DropNet library and C# in a desktop application. This is my code that executes on a button click:
private void ExportToDropbox(object sender, RoutedEventArgs e)
{
var client = new DropNetClient("<REDACTED>", "<REDACTED>");
client.UserLogin = new UserLogin();
var fileBytes = File.ReadAllBytes(@"../../Reports/Donka-Karamanova-dk-Report.docx");
var uploadResult = client.UploadFile("/", "Donka-Karamanova-dk-Report_copy.docx", fileBytes);
}