Click or drag to resize
MimeKit

HtmlUtilsHtmlEncode(String) Method

Encode HTML character data.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static string HtmlEncode(
	string data
)

Parameters

data  String
The character data to encode.

Return Value

String
The encoded character data.
Exceptions
ExceptionCondition
ArgumentNullExceptiondata is null.
Remarks
Encodes HTML character data.
See Also