This documentation is archived and is not being maintained.

HttpListenerContext Members

Provides access to the request and response objects used by the HttpListener class. This class cannot be inherited.

The HttpListenerContext type exposes the following members.

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Request Gets the HttpListenerRequest that represents a client's request for a resource.
Public property Response Gets the HttpListenerResponse object that will be sent to the client in response to the client's request.
Public property User Gets an object used to obtain identity, authentication information, and security roles for the client whose request is represented by this HttpListenerContext object.
Top
Show: