Click or drag to resize
MimeKit

SaslMechanismScramSha256 Constructor (Uri, ICredentials)

Note: This API is now obsolete.

Initializes a new instance of the SaslMechanismScramSha256 class.

Namespace:  MailKit.Security
Assembly:  MailKit (in MailKit.dll) Version: 2.10.0
Syntax
C#
[ObsoleteAttribute("Use SaslMechanismScramSha256(NetworkCredential) instead.")]
public SaslMechanismScramSha256(
	Uri uri,
	ICredentials credentials
)

Parameters

uri
Type: SystemUri
The URI of the service.
credentials
Type: System.NetICredentials
The user's credentials.
Exceptions
ExceptionCondition
ArgumentNullException

uri is null.

-or-

credentials is null.

Remarks
Creates a new SCRAM-SHA-256 SASL context.
See Also