Constructor PasswordEvidence
PasswordEvidence(SecureString)
Initializes a new instance of the PasswordEvidence class. Less secure when used in conjunction with SCRAM-SHA-256, due to the need to store the password in a managed string in order to SaslPrep it. See Driver Authentication: SCRAM-SHA-256 for additional details.
public PasswordEvidence(SecureString password)
Parameters
password
SecureStringThe password.
PasswordEvidence(string)
Initializes a new instance of the PasswordEvidence class.
public PasswordEvidence(string password)
Parameters
password
stringThe password.