HttpListenerRequest Properties

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The HttpListenerRequest type exposes the following members.

  Name Description
Public property AcceptTypes Gets the MIME types accepted by the client.
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 Credentials Gets the user's network credentials, if the user has sent a user name and password.
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 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 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 Url Gets the Uri object requested by the client.
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
Show: