Export (0) Print
Expand All

HttpUtility Class

Silverlight

Provides methods for encoding and decoding HTML and URL strings.

System.Object
  System.Windows.Browser.HttpUtility

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

'Declaration
<SecuritySafeCriticalAttribute> _
Public NotInheritable Class HttpUtility

The HttpUtility type exposes the following members.

  NameDescription
Public methodStatic memberHtmlDecodeConverts a string that has been HTML-encoded (for HTTP transmission) into a decoded string.
Public methodStatic memberHtmlEncodeConverts a text string into an HTML-encoded string.
Public methodStatic memberUrlDecodeConverts a string that has been encoded for transmission in a URL into a decoded string.
Public methodStatic memberUrlEncodeConverts a text string into a URL-encoded string.
Top

For more information, see the System.Web.HttpUtility class in the .NET Framework documentation.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft