Click or drag to resize
MimeKit

SaslMechanismScramSha256 Constructor (Uri, String, String)

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(string, string) instead.")]
public SaslMechanismScramSha256(
	Uri uri,
	string userName,
	string password
)

Parameters

uri
Type: SystemUri
The URI of the service.
userName
Type: SystemString
The user name.
password
Type: SystemString
The password.
Exceptions
ExceptionCondition
ArgumentNullException

uri is null.

-or-

userName is null.

-or-

password is null.

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