Click or drag to resize
MimeKit

SaslMechanism(NetworkCredential) Constructor

Initializes a new instance of the SaslMechanism class.

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
protected SaslMechanism(
	NetworkCredential credentials
)

Parameters

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