System.Web.HttpUtility: Method Members

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

See Also: Inherited members from System.Object

Public Methods

static
HtmlAttributeEncode(string) : string

Minimally converts a string to an HTML-encoded string.

static
HtmlAttributeEncode(string, System.IO.TextWriter)

Minimally converts a string into an HTML-encoded string and sends the encoded string to a System.IO.TextWriter output stream.

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
ParseQueryString(string) : System.Collections.Specialized.NameValueCollection

Parses a query string into a System.Collections.Specialized.NameValueCollection using System.Text.Encoding.UTF8 encoding.

static
ParseQueryString(string, System.Text.Encoding) : System.Collections.Specialized.NameValueCollection

Parses a query string into a System.Collections.Specialized.NameValueCollection using the specified System.Text.Encoding.

static
UrlDecode(string) : string

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

static
UrlDecode(byte[], System.Text.Encoding) : string

Converts a URL-encoded byte array into a decoded string using the specified decoding object.

static
UrlDecode(string, System.Text.Encoding) : string

Converts a URL-encoded string into a decoded string, using the specified encoding object.

static
UrlDecode(byte[], int, int, System.Text.Encoding) : string

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.

static
UrlDecodeToBytes(byte[]) : byte[]

Converts a URL-encoded array of bytes into a decoded array of bytes.

static
UrlDecodeToBytes(string) : byte[]

Converts a URL-encoded string into a decoded array of bytes.

static
UrlDecodeToBytes(string, System.Text.Encoding) : byte[]

Converts a URL-encoded string into a decoded array of bytes using the specified decoding object.

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

Converts a URL-encoded array of bytes into a decoded array of bytes, starting at the specified position in the array and continuing for the specified number of bytes.

static
UrlEncode(byte[]) : string

Converts a byte array into an encoded URL string.

static
UrlEncode(string) : string

Encodes a URL string.

static
UrlEncode(string, System.Text.Encoding) : string

Encodes a URL string using the specified encoding object.

static
UrlEncode(byte[], int, int) : string

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.

static
UrlEncodeToBytes(byte[]) : byte[]

Converts an array of bytes into a URL-encoded array of bytes.

static
UrlEncodeToBytes(string) : byte[]

Converts a string into a URL-encoded array of bytes.

static
UrlEncodeToBytes(string, System.Text.Encoding) : byte[]

Converts a string into a URL-encoded array of bytes using the specified encoding object.

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

Converts an array of bytes into a URL-encoded array of bytes, starting at the specified position in the array and continuing for the specified number of bytes.

static
UrlEncodeUnicode(string) : string

Converts a string into a Unicode string.

static
UrlEncodeUnicodeToBytes(string) : byte[]

Converts a Unicode string into an array of bytes.

static
UrlPathEncode(string) : string

Do not use; intended only for browser compatibility. Use HttpUtility.UrlEncode(string).