Esempio n. 1
0
 /// <summary>
 /// Sets the AWS S3 Specific Parameters
 /// </summary>
 /// <param name="accessKeyId"></param>
 /// <param name="secretKey"></param>
 /// <param name="region"></param>
 /// <param name="bucketName"></param>
 public void SetAwsParameters(string accessKeyId, string secretKey, string region, string bucketName, string baseUrl, string bucketUrl)
 {
     _awsParams             = new AwsParams();
     _awsParams.AccessKeyId = accessKeyId;
     _awsParams.SecretKey   = secretKey;
     _awsParams.Region      = region;
     _awsParams.BucketName  = bucketName;
     _awsParams.BaseUrl     = baseUrl;
     _awsParams.BucketUrl   = bucketUrl;
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the AWS S3 Specific Parameters
 /// </summary>
 /// <param name="awsParameter"></param>
 public void SetAwsParameters(AwsParams awsParameter)
 {
     _awsParams = awsParameter;
 }