Sanitizer Methods

Microsoft AntiXSS Library

Collapse imageExpand ImageCopy imageCopyHover image

Methods

  NameDescription
Public methodStatic memberGetSafeHtml(String)
Sanitizes input HTML document for safe display on browser.
Public methodStatic memberGetSafeHtml(TextReader, Stream)
Sanitizes input HTML document for safe display on browser.
Public methodStatic memberGetSafeHtml(TextReader, TextWriter)
Sanitizes input HTML document for safe display on browser.
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