WebUtility Methods
Collapse the table of content
Expand the table of content

WebUtility Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The WebUtility type exposes the following members.

  NameDescription
Public method Static member HtmlDecode Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.
Public method Static member HtmlEncode Converts a string to an HTML-encoded string.
Public method Static member UrlDecode Converts a string that has been encoded for transmission in a URL into a decoded string.
Public method Static member UrlDecodeToBytes Converts a URL-encoded byte array into a decoded string using the specified encoding object, starting at the specified position in the array, and continuing for the specified number of bytes.
Public method Static member UrlEncode Encodes a URL string.
Public method Static member UrlEncodeToBytes Converts a byte array into a URL-encoded string, starting at the specified position in the array and continuing for the specified number of bytes.
Top

Show:
© 2017 Microsoft