This documentation is archived and is not being maintained.
HttpUtility Members
Visual Studio 2008
Provides methods for encoding and decoding URLs when processing Web requests. This class cannot be inherited.
The HttpUtility type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | 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 | Overloaded. Minimally converts a string into an HTML-encoded string. |
|
HtmlDecode | Overloaded. Converts a string that has been HTML-encoded for HTTP transmission into a decoded string. |
|
HtmlEncode | Overloaded. Converts a string into an HTML-encoded string. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ParseQueryString | Overloaded. Parses a query string into a NameValueCollection. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
UrlDecode | Overloaded. Converts a string that has been encoded for transmission in a URL into a decoded string. |
|
UrlDecodeToBytes | Overloaded. Converts a URL-encoded string or byte array into a decoded array of bytes. |
|
UrlEncode | Overloaded. Encodes a URL string. The UrlEncode method can be used to encode the entire URL, including query-string values. |
|
UrlEncodeToBytes | Overloaded. Converts a string or a byte array into an encoded array 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: