System.Net.WebUtility: Method Members

The methods of System.Net.WebUtility are listed below. For a list of all members, see the WebUtility Members list.

See Also: Inherited members from System.Object

Public Methods

static
HtmlDecode(string) : string

Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.

static
HtmlDecode(string, System.IO.TextWriter)

Converts a string that has been HTML-encoded into a decoded string, and sends the decoded string to a System.IO.TextWriter output stream.

static
HtmlEncode(string) : string

Converts a string to an HTML-encoded string.

static
HtmlEncode(string, System.IO.TextWriter)

Converts a string into an HTML-encoded string, and returns the output as a System.IO.TextWriter stream of output.

static
UrlDecode(string) : string

Converts a string that has been encoded for transmission in a URL into a decoded string.

static
UrlDecodeToBytes(byte[], int, int) : byte[]

Converts an encoded byte array that has been encoded for transmission in a URL into a decoded byte array.

static
UrlEncode(string) : string

Converts a text string into a URL-encoded string.

static
UrlEncodeToBytes(byte[], int, int) : byte[]

Converts a byte array into a URL-encoded byte array.