This documentation is archived and is not being maintained.
HttpUtility Methods
Visual Studio 2010
The HttpUtility type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
HtmlAttributeEncode(String) | Minimally converts a string to an HTML-encoded string. |
|
HtmlAttributeEncode(String, TextWriter) | Minimally converts a string into an HTML-encoded string and sends the encoded string to a TextWriter output stream. |
|
HtmlDecode(String) | Converts a string that has been HTML-encoded for HTTP transmission into a decoded string. |
|
HtmlDecode(String, TextWriter) | Converts a string that has been HTML-encoded into a decoded string, and sends the decoded string to a TextWriter output stream. |
|
HtmlEncode(Object) | Converts an object's string representation into an HTML-encoded string, and returns the encoded string. |
|
HtmlEncode(String) | Converts a string to an HTML-encoded string. |
|
HtmlEncode(String, TextWriter) | Converts a string into an HTML-encoded string, and returns the output as a TextWriter stream of output. |
|
JavaScriptStringEncode(String) | Encodes a string. |
|
JavaScriptStringEncode(String, Boolean) | Encodes a string. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ParseQueryString(String) | Parses a query string into a NameValueCollection using UTF8 encoding. |
|
ParseQueryString(String, Encoding) | Parses a query string into a NameValueCollection using the specified Encoding. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
UrlDecode(String) | Converts a string that has been encoded for transmission in a URL into a decoded string. |
|
UrlDecode(array<Byte>, Encoding) | Converts a URL-encoded byte array into a decoded string using the specified decoding object. |
|
UrlDecode(String, Encoding) | Converts a URL-encoded string into a decoded string, using the specified encoding object. |
|
UrlDecode(array<Byte>, Int32, Int32, Encoding) | 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. |
|
UrlDecodeToBytes(array<Byte>) | Converts a URL-encoded array of bytes into a decoded array of bytes. |
|
UrlDecodeToBytes(String) | Converts a URL-encoded string into a decoded array of bytes. |
|
UrlDecodeToBytes(String, Encoding) | Converts a URL-encoded string into a decoded array of bytes using the specified decoding object. |
|
UrlDecodeToBytes(array<Byte>, Int32, Int32) | 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. |
|
UrlEncode(array<Byte>) | Converts a byte array into an encoded URL string. |
|
UrlEncode(String) | Encodes a URL string. |
|
UrlEncode(String, Encoding) | Encodes a URL string using the specified encoding object. |
|
UrlEncode(array<Byte>, Int32, Int32) | 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. |
|
UrlEncodeToBytes(array<Byte>) | Converts an array of bytes into a URL-encoded array of bytes. |
|
UrlEncodeToBytes(String) | Converts a string into a URL-encoded array of bytes. |
|
UrlEncodeToBytes(String, Encoding) | Converts a string into a URL-encoded array of bytes using the specified encoding object. |
|
UrlEncodeToBytes(array<Byte>, Int32, Int32) | 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. |
|
UrlEncodeUnicode | Converts a string into a Unicode string. |
|
UrlEncodeUnicodeToBytes | Converts a Unicode string into an array of bytes. |
|
UrlPathEncode | Encodes the path portion of a URL string for reliable HTTP transmission from the Web server to a client. |
Show: