HttpServerUtility Methods

(see also Protected Methods )
  Name Description
Public method ClearError Clears the previous exception.
Public method CreateObject Overloaded. Creates a server instance of a COM object.
Public method CreateObjectFromClsid Creates a server instance of a COM object identified by the object's class identifier (CLSID).
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Execute Overloaded. Executes the handler for a specified resource in the context of the current request and returns control to it.
Public method 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.)
Public method GetLastError Returns the previous exception.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method HtmlDecode Overloaded. Decodes a string that has been encoded to eliminate invalid HTML characters.
Public method HtmlEncode Overloaded. Encodes a string to be displayed in a browser.
Public method MapPath Returns the physical file path that corresponds to the specified virtual path on the Web server.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Transfer Overloaded. Terminates execution of the current page and begins execution of a new page for the current request.
Public method UrlDecode Overloaded. Decodes a string encoded for HTTP transmission and sent to the server in a URL.
Public method UrlEncode Overloaded. Encodes a string for reliable HTTP transmission from the Web server to a client through the URL.
Public method UrlPathEncode URL-encodes the path portion of a URL string and returns the encoded string.
Public method Static UrlTokenDecode Decodes a URL string token to its equivalent byte array using base 64 digits.
Public method Static UrlTokenEncode Encodes a byte array into its equivalent string representation using base 64 digits and suitable for transmission on the URL.

  Name Description
Protected method 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.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)