Ejemplo n.º 1
0
 public DownloadByCloud(string nLogName, CloudConfig cloudConfig)
 {
     NLogName = nLogName;
     _api     = new QCloudApi(new QCloudApi.QCloudSecret
     {
         AppId      = cloudConfig.AppId,
         BucketName = cloudConfig.BucketName,
         SecretId   = cloudConfig.SecretId,
         SecretKey  = cloudConfig.SecretKey
     });
     api = new CloudObjectStorageApi(cloudConfig.BucketName, cloudConfig.AppId.ToString(), cloudConfig.SecretId, cloudConfig.SecretKey);
 }
Ejemplo n.º 2
0
 public DownloadByFile(string nLogName, CloudConfig cloudConfig)
 {
     NLogName = nLogName;
 }