예제 #1
0
        public async Task <JSON_FolderMetadata> CreateFolder(string FolderName)
        {
            var clint = new SClient(AccessToken, ConnectionSetting);

            return(await clint.Folder(string.Empty).Create(FolderName));
        }
예제 #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));
        }
예제 #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));
        }