Ejemplo n.º 1
0
        public async Task <JSON_FolderMetadata> CreateFolder(string FolderName)
        {
            var clint = new SClient(AccessToken, ConnectionSetting);

            return(await clint.Folder(string.Empty).Create(FolderName));
        }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
        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));
        }