Before using this code make sure you added necessary references to sharpbox dll files and you generated the token file(SharpDropBox.Token) using Dropbox Token Issuer Tool (Revised) for Sharpbox .
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using AppLimit.CloudComputing.SharpBox;
using AppLimit.CloudComputing.SharpBox.StorageProvider.DropBox;
namespace StatsUploader
{
class UploadtoDropbox
{
public void Upload()
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using AppLimit.CloudComputing.SharpBox;
using AppLimit.CloudComputing.SharpBox.StorageProvider.DropBox;
namespace StatsUploader
{
class ListDropboxFiles
{
Since, the Dropbox Token Issuer Tool provided with Sharpbox kit has many issues, I have developed a small application to generate Token file to use with SharpBox API.
Steps to Generate Token File :
1. Download and install the tool from the below link