public async Task <SynologyPackageInfo> GetPackagesInfo()
        {
            var loginRequest = new SynologyRestRequest(Resource);

            loginRequest.AddParameter("api", ServiceApiName);
            loginRequest.AddParameter("version", "1");
            loginRequest.AddParameter("method", "list");
            loginRequest.AddArrayParameter("additional", "startable", "dependent_packages", "installed_info", "description", "description_enu");
            loginRequest.AddParameter("sid", _client.Sid);


            var response = await _client.ExecuteAsync <SynologyResponse <SynologyPackageInfo> >(loginRequest)
                           .ConfigureAwait(false);

            return(response.Data.Data);
        }
        public async Task <TempShare> ListileStationFolder(string folderPath)
        {
            var loginRequest = new SynologyRestRequest(Resource);

            loginRequest.AddParameter("api", ServiceApiName);
            loginRequest.AddParameter("version", "2");
            loginRequest.AddParameter("method", "list");
            loginRequest.AddParameter("folder_path", folderPath);
            loginRequest.AddParameter("filetype", "all");
            loginRequest.AddArrayParameter("additional",
                                           "real_path", "size", "owner", "time", "perm", "type", "mount_point_type", "description", "indexed");
            loginRequest.AddParameter("sort_by", "mtime");
            loginRequest.AddParameter("check_dir", true);
            loginRequest.AddParameter("action", "list");
            loginRequest.AddParameter("limit", 1000);
            loginRequest.AddParameter("offset", 0);
            loginRequest.AddParameter("sid", _client.Sid);

            var response = await _client.ExecuteAsync <SynologyResponse <TempShare> >(loginRequest)
                           .ConfigureAwait(false);

            return(response.Data.Data);
        }