Click or drag to resize
MimeKit

SaslMechanismScramBase(String, String) Constructor

Initializes a new instance of the SaslMechanismScramBase class.

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
protected SaslMechanismScramBase(
	string userName,
	string password
)

Parameters

userName  String
The user name.
password  String
The password.
Exceptions
ExceptionCondition
ArgumentNullException

userName is null.

-or-

password is null.

Remarks
Creates a new SCRAM-based SASL context.
See Also