HttpServerUtility Members
.NET Framework 2.0
Provides helper methods for processing Web requests.
The following tables list the members exposed by the HttpServerUtility type.
| Name | Description | |
|---|---|---|
| MachineName | Gets the server's computer name. |
| ScriptTimeout | Gets and sets the request time-out value in seconds. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| ClearError | Clears the previous exception. |
| CreateObject | Overloaded. Creates a server instance of a COM object. |
| CreateObjectFromClsid | Creates a server instance of a COM object identified by the object's class identifier (CLSID). |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| Execute | Overloaded. Executes the handler for a specified resource in the context of the current request and returns control to it. |
| 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.) |
| GetLastError | Returns the previous exception. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| HtmlDecode | Overloaded. Decodes a string that has been encoded to eliminate invalid HTML characters. |
| HtmlEncode | Overloaded. Encodes a string to be displayed in a browser. |
| MapPath | Returns the physical file path that corresponds to the specified virtual path on the Web server. |
| 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.) |
| Transfer | Overloaded. Terminates execution of the current page and begins execution of a new page for the current request. |
| UrlDecode | Overloaded. Decodes a string encoded for HTTP transmission and sent to the server in a URL. |
| UrlEncode | Overloaded. Encodes a string for reliable HTTP transmission from the Web server to a client through the URL. |
| UrlPathEncode | URL-encodes the path portion of a URL string and returns the encoded string. |
| UrlTokenDecode | Decodes a URL string token to its equivalent byte array using base 64 digits. |
| UrlTokenEncode | Encodes a byte array into its equivalent string representation using base 64 digits and suitable for transmission on the URL. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Community Additions
ADD
Show: