SaslMechanismSaslPrep Method

Prepare the user name or password string.

Definition

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

Parameters

s  String
The string to prepare.

Return Value

String
The prepared string.

Remarks

Prepares a user name or password string according to the rules of rfc4013.

Exceptions

ArgumentNullException s is .
ArgumentException s contains prohibited characters.

See Also