Click or drag to resize
MimeKit

SaslMechanismPlain Constructor (String, String)

Initializes a new instance of the SaslMechanismPlain class.

Namespace:  MailKit.Security
Assembly:  MailKit (in MailKit.dll) Version: 2.10.0
Syntax
C#
public SaslMechanismPlain(
	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 PLAIN SASL context.
See Also