Export (0) Print
Expand All

HttpListenerRequest Members

Describes an incoming HTTP request to an HttpListener object. This class cannot be inherited.

The following tables list the members exposed by the HttpListenerRequest type.

  Name Description
Public property AcceptTypes Gets the MIME types accepted by the client.
Public property ClientCertificateError Gets an error code that identifies a problem with the X509Certificate provided by the client.
Public property ContentEncoding Gets the content encoding that can be used with data sent with the request
Public property ContentLength64 Gets the length of the body data included in the request.
Public property ContentType Gets the MIME type of the body data included in the request.
Public property Cookies Gets the cookies sent with the request.
Public property HasEntityBody Gets a Boolean value that indicates whether the request has associated body data.
Public property Headers Gets the collection of header name/value pairs sent in the request.
Public property HttpMethod Gets the HTTP method specified by the client.
Public property InputStream Gets a stream that contains the body data sent by the client.
Public property IsAuthenticated Gets a Boolean value that indicates whether the client sending this request is authenticated.
Public property IsLocal Gets a Boolean value that indicates whether the request is sent from the local computer.
Public property IsSecureConnection Gets a Boolean value that indicates whether the TCP connection used to send the request is using the Secure Sockets Layer (SSL) protocol.
Public property KeepAlive Gets a Boolean value that indicates whether the client requests a persistent connection.
Public property LocalEndPoint Get the server IP address and port number to which the request is directed.
Public property ProtocolVersion Gets the HTTP version used by the requesting client.
Public property QueryString Gets the query string included in the request.
Public property RawUrl Gets the URL information (without the host and port) requested by the client.
Public property RemoteEndPoint Gets the client IP address and port number from which the request originated.
Public property RequestTraceIdentifier Gets the request identifier of the incoming HTTP request.
Public property Url Gets the Uri object requested by the client.
Public property UrlReferrer Gets the Uniform Resource Identifier (URI) of the resource that referred the client to the server.
Public property UserAgent Gets the user agent presented by the client.
Public property UserHostAddress Gets the server IP address and port number to which the request is directed.
Public property UserHostName Gets the DNS name and, if provided, the port number specified by the client.
Public property UserLanguages Gets the natural languages that are preferred for the response.
Top

(see also Protected Methods )
  Name Description
Public method BeginGetClientCertificate Begins an asynchronous request for the client's X.509 v.3 certificate.
Public method EndGetClientCertificate Ends an asynchronous request for the client's X.509 v.3 certificate.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetClientCertificate Retrieves the client's X.509 v.3 certificate.
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 GetType  Gets the Type of the current instance. (Inherited from Object.)
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.)
Top

  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.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft