Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 636 Bytes

File metadata and controls

20 lines (14 loc) · 636 Bytes

SharpGrip FileSystem Dropbox adapter NuGet

Installation

Reference NuGet package SharpGrip.FileSystem.Adapters.Dropbox (https://www.nuget.org/packages/SharpGrip.FileSystem.Adapters.Dropbox).

Usage

// Dropbox connection.
var dropboxClient = new DropboxClient("oAuth2AccessToken");

var adapters = new List<IAdapter>
{
    new LocalAdapter("local", "/var/files"),
    new DropboxAdapter("dropbox", "/Files", dropboxClient)
};

var fileSystem = new FileSystem(adapters);