Click or drag to resize
MimeKit

SaslMechanismPlain(NetworkCredential) Constructor

Initializes a new instance of the SaslMechanismPlain class.

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

Parameters

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