Click or drag to resize
MimeKit

SaslMechanismScramSha1(String, String) Constructor

Initializes a new instance of the SaslMechanismScramSha1 class.

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public SaslMechanismScramSha1(
	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-SHA-1 SASL context.
See Also