示例#1
0
 /// <summary>
 /// Creates instance of API
 /// </summary>
 /// <param name="clientId">Your App ClientID. From Amazon Developers Console.</param>
 /// <param name="clientSecret">Your App Secret. From Amazon Developers Console.</param>
 public AmazonDrive(string clientId, string clientSecret)
 {
     this.clientSecret = clientSecret;
     this.clientId     = clientId;
     http    = new Tools.HttpClient(SettingsSetter);
     Account = new AmazonAccount(this);
     Nodes   = new AmazonNodes(this);
     Files   = new AmazonFiles(this);
 }
 /// <summary>
 /// Creates instance of API
 /// </summary>
 /// <param name="clientId">Your App ClientID. From Amazon Developers Console.</param>
 /// <param name="clientSecret">Your App Secret. From Amazon Developers Console.</param>
 public AmazonDrive(string clientId, string clientSecret)
 {
     this.clientSecret = clientSecret;
     this.clientId = clientId;
     http = new Tools.HttpClient(SettingsSetter);
     Account = new AmazonAccount(this);
     Nodes = new AmazonNodes(this);
     Files = new AmazonFiles(this);
 }