Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpUtility Class

Silverlight

Provides methods for encoding and decoding HTML and URL strings.

System.Object
  System.Net.HttpUtility

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

'Declaration
Public NotInheritable Class HttpUtility

The HttpUtility type exposes the following members.

  NameDescription
Public methodStatic memberSupported by Silverlight for Windows PhoneHtmlDecodeConverts a string that has been HTML-encoded (for HTTP transmission) into a decoded string.
Public methodStatic memberSupported by Silverlight for Windows PhoneHtmlEncodeConverts a text string into an HTML-encoded string.
Public methodStatic memberSupported by Silverlight for Windows PhoneUrlDecodeConverts a string that has been encoded for transmission in a URL into a decoded string.
Public methodStatic memberSupported by Silverlight for Windows PhoneUrlEncodeConverts a text string into a URL-encoded string.
Top

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

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

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

Show:
© 2017 Microsoft