GetSafeHtmlFragment Method

Microsoft AntiXSS Library

Collapse imageExpand ImageCopy imageCopyHover image

Overload List

  NameDescription
Public methodStatic memberGetSafeHtmlFragment(String)
Sanitizes input HTML fragment for safe display on browser.
Public methodStatic memberGetSafeHtmlFragment(TextReader, Stream)
Sanitizes input HTML fragment for safe display on browser.
Public methodStatic memberGetSafeHtmlFragment(TextReader, TextWriter)
Sanitizes input HTML fragment for safe display on browser.

See Also