Click or drag to resize
MimeKit

SaslMechanismDigestMd5 Constructor (String, String)

Initializes a new instance of the SaslMechanismDigestMd5 class.

Namespace:  MailKit.Security
Assembly:  MailKit (in MailKit.dll) Version: 2.10.0
Syntax
C#
public SaslMechanismDigestMd5(
	string userName,
	string password
)

Parameters

userName
Type: SystemString
The user name.
password
Type: SystemString
The password.
Exceptions
ExceptionCondition
ArgumentNullException

userName is null.

-or-

password is null.

Remarks
Creates a new DIGEST-MD5 SASL context.
See Also