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

            DropboxSession.SharedSession = session;
        }