Export (0) Print
Expand All

HttpUtility Methods

The methods of the HttpUtility class are listed here. For a complete list of HttpUtility class members, see the HttpUtility Members topic.

Public Methods

public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)HtmlAttributeEncode Overloaded. Minimally converts a string into an HTML-encoded string.
public methodstatic (Shared in Visual Basic)HtmlDecode Overloaded. Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.
public methodstatic (Shared in Visual Basic)HtmlEncode Overloaded. Converts a string into an HTML-encoded string for reliable HTTP transmission from the Web server to a client.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodstatic (Shared in Visual Basic)UrlDecode Overloaded. Converts a string that has been encoded for transmission in a URL into a decoded string.
public methodstatic (Shared in Visual Basic)UrlDecodeToBytes Overloaded. Converts a URL-encoded string or byte array into a decoded array of bytes.
public methodstatic (Shared in Visual Basic)UrlEncode Overloaded. Encodes a URL string for reliable HTTP transmission from the Web server to a client.
public methodstatic (Shared in Visual Basic)UrlEncodeToBytes Overloaded. Converts a string or a byte array into an encoded array of bytes for reliable HTTP transmission from the Web server to a client.
public methodstatic (Shared in Visual Basic)UrlEncodeUnicode Converts a string into a Unicode string.
public methodstatic (Shared in Visual Basic)UrlEncodeUnicodeToBytes Converts a Unicode string into an array of bytes.
public methodstatic (Shared in Visual Basic)UrlPathEncode Encodes the path portion of a URL string for reliable HTTP transmission from the Web server to a client.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpUtility Class | System.Web Namespace

Show:
© 2014 Microsoft