Credential Constructor
Credential(CryptographicKeyType, String, Boolean)
Constructs an instance of the Credential class with the provided arguments.
C#
public Credential(CryptographicKeyType keyType, string label, bool touchRequired)
Parameters
Type | Name | Description |
---|---|---|
CryptographicKeyType | keyType |
|
System.String | label |
|
System.Boolean | touchRequired |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when |
System.ArgumentOutOfRangeException | Thrown when |
Credential()
Constructs an instance of the Credential class.
C#
public Credential()
Remarks
This constructor is provided to allow for object-initializer syntax. The default values are not guaranteed to be valid, so all properties should be set manually.