This documentation is archived and is not being maintained.
HttpServerUtility Members
Visual Studio 2008
Provides helper methods for processing Web requests.
The HttpServerUtility type exposes the following members.
| 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 | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Execute | Overloaded. Executes the handler for a specified resource in the context of the current request and returns execution to the page that invoked it. |
|
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.) |
|
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. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
Transfer | Overloaded. Terminates execution of the current page and starts execution of a new page for the current request. |
|
TransferRequest | Overloaded. Performs an asynchronous execution of the specified URL. |
|
UrlDecode | Overloaded. Decodes a string that was encoded for HTTP transmission and then 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 section 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, which is usable for transmission on the URL. |
| Name | Description | |
|---|---|---|
|
MachineName | Gets the server's computer name. |
|
ScriptTimeout | Gets and sets the request time-out value in seconds. |
Show: