Ejemplo n.º 1
0
 public BackBlazeB2Config(IAccessKey credentials, BackBlazeB2Region region) : this()
 {
     Credentials = credentials;
     Region      = region;
 }
Ejemplo n.º 2
0
 /// <summary>Creates a new instance of <see cref="BackBlazeB2Client" /></summary>
 /// <param name="credentials">The credentials to use</param>
 /// <param name="region">The region you wish to use</param>
 /// <param name="proxy">A web proxy (optional)</param>
 public BackBlazeB2Client(IAccessKey credentials, BackBlazeB2Region region, IWebProxy?proxy = null) : this(new BackBlazeB2Config(credentials, region), proxy)
 {
 }
Ejemplo n.º 3
0
 public BackBlazeB2Config(string keyId, string secretKey, BackBlazeB2Region region) : this(new StringAccessKey(keyId, secretKey), region)
 {
 }
Ejemplo n.º 4
0
 /// <summary>Creates a new instance of <see cref="BackBlazeB2Client" /></summary>
 /// <param name="keyId">The key id</param>
 /// <param name="accessKey">The secret access key</param>
 /// <param name="region">The region you wish to use</param>
 /// <param name="proxy">A web proxy (optional)</param>
 public BackBlazeB2Client(string keyId, string accessKey, BackBlazeB2Region region, IWebProxy?proxy = null) : this(new BackBlazeB2Config(new StringAccessKey(keyId, accessKey), region), proxy)
 {
 }