This documentation is archived and is not being maintained.

HttpUtility.HtmlEncode Method

Converts a string into an HTML-encoded string.

Name Description
HttpUtility.HtmlEncode (String) Converts a string to an HTML-encoded string.
HttpUtility.HtmlEncode (String, TextWriter) Converts a string into an HTML-encoded string, and returns the output as a TextWriter stream of output.
Show: