Click or drag to resize
MimeKit

SaslMechanismLogin(NetworkCredential) Constructor

Initializes a new instance of the SaslMechanismLogin class.

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

Parameters

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