Click or drag to resize
MimeKit

SaslMechanismPlain Constructor (NetworkCredential)

Initializes a new instance of the SaslMechanismPlain class.

Namespace:  MailKit.Security
Assembly:  MailKit (in MailKit.dll) Version: 2.10.0
Syntax
C#
public SaslMechanismPlain(
	NetworkCredential credentials
)

Parameters

credentials
Type: System.NetNetworkCredential
The user's credentials.
Exceptions
ExceptionCondition
ArgumentNullExceptioncredentials is null.
Remarks
Creates a new PLAIN SASL context.
See Also