Table of Contents

Constructor PasswordEvidence

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

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 SecureString

The password.

PasswordEvidence(string)

Initializes a new instance of the PasswordEvidence class.

public PasswordEvidence(string password)

Parameters

password string

The password.