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 execution to the page that invoked it.
Public method GetHashCode  Serves as a hash function for a particular type. (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 starts execution of a new page for the current request.
Public method TransferRequest Overloaded. Performs an asynchronous execution of the specified URL.
Public method UrlDecode Overloaded. Decodes a string that was encoded for HTTP transmission and then 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 section 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, which is usable 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)