public async Task <JSON_FolderMetadata> CreateFolder(string FolderName) { var clint = new SClient(AccessToken, ConnectionSetting); return(await clint.Folder(string.Empty).Create(FolderName)); }
public async Task <JSON_Upload> Upload(object FileToUpload, UploadTypes UploadType, string FileName, IProgress <ReportStatus> ReportCls = null, CancellationToken token = default) { var clint = new SClient(AccessToken, ConnectionSetting); return(await clint.Folder(string.Empty).Upload(FileToUpload, UploadType, FileName, ReportCls, token)); }
public async Task <JSON_List> List(int OffSet = 1, SortEnum Sort = SortEnum.name, OrderByEnum OrderBy = OrderByEnum.asc) { var clint = new SClient(AccessToken, ConnectionSetting); return(await clint.Folder(string.Empty).List(OffSet, Sort, OrderBy)); }