Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
public static 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.