public KeyPairCredentials(String publicKeyId, String privateKeySecret) {if (publicKeyId == null || privateKeySecret == null) {throw new IllegalArgumentException("You must provide a valid pair of Public Key ID and Private Key Secret.");}this.publicKeyId = publicKeyId;this.privateKeySecret = privateKeySecret;}
public KeyPairCredentials(string publicKeyId, string privateKeySecret){if (string.IsNullOrEmpty(publicKeyId) || string.IsNullOrEmpty(privateKeySecret)){throw new ArgumentNullException("You must provide a valid pair of Public Key ID and Private Key Secret.");}this.publicKeyId = publicKeyId;this.privateKeySecret = privateKeySecret;}