This documentation is archived and is not being maintained.
.NET Framework 2.0
Provides methods for encoding and decoding URLs when processing Web requests. This class cannot be inherited.
The following tables list the members exposed by the HttpUtility type.
(see also Protected Methods )
|Equals||Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.|
|ParseQueryString||Overloaded. Parses a query string into a NameValueCollection.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|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.|
|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.|