public DropboxFileSystem(DropboxSession session) { this.session = session; sharedClient = new DropboxClient(session.AccessToken); UserId = session.AccountId; FileExtensions = new System.Collections.ObjectModel.Collection <string> (); }
public DropboxFileSystemProvider(string appKey, string appSecret, bool appFolder) { var session = new DropboxSession(appKey, appSecret, appFolder ? DropboxSessionRoot.App : DropboxSessionRoot.Dropbox); DropboxSession.SharedSession = session; }