Exemplo n.º 1
0
        protected FileMetadata GetDropboxFile(object fileId)
        {
            var dropboxFilePath = MakeDropboxPath(fileId);

            try
            {
                var file = ProviderInfo.GetDropboxFile(dropboxFilePath);
                return(file);
            }
            catch (Exception ex)
            {
                return(new ErrorFile(ex, dropboxFilePath));
            }
        }