Click or drag to resize
MimeKit

SaslMechanismSaslPrep Method

Prepare the user name or password string.

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public static string SaslPrep(
	string s
)

Parameters

s  String
The string to prepare.

Return Value

String
The prepared string.
Exceptions
ExceptionCondition
ArgumentNullExceptions is null.
ArgumentExceptions contains prohibited characters.
Remarks
Prepares a user name or password string according to the rules of rfc4013.
See Also