HttpListenerRequest Properties

HttpListenerRequest Properties

 

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubpropertyAcceptTypes

Gets the MIME types accepted by the client.

System_CAPS_pubpropertyClientCertificateError

Gets an error code that identifies a problem with the X509Certificate provided by the client.

System_CAPS_pubpropertyContentEncoding

Gets the content encoding that can be used with data sent with the request

System_CAPS_pubpropertyContentLength64

Gets the length of the body data included in the request.

System_CAPS_pubpropertyContentType

Gets the MIME type of the body data included in the request.

System_CAPS_pubpropertyCookies

Gets the cookies sent with the request.

System_CAPS_pubpropertyHasEntityBody

Gets a Boolean value that indicates whether the request has associated body data.

System_CAPS_pubpropertyHeaders

Gets the collection of header name/value pairs sent in the request.

System_CAPS_pubpropertyHttpMethod

Gets the HTTP method specified by the client.

System_CAPS_pubpropertyInputStream

Gets a stream that contains the body data sent by the client.

System_CAPS_pubpropertyIsAuthenticated

Gets a Boolean value that indicates whether the client sending this request is authenticated.

System_CAPS_pubpropertyIsLocal

Gets a Boolean value that indicates whether the request is sent from the local computer.

System_CAPS_pubpropertyIsSecureConnection

Gets a Boolean value that indicates whether the TCP connection used to send the request is using the Secure Sockets Layer (SSL) protocol.

System_CAPS_pubpropertyIsWebSocketRequest

Gets a Boolean value that indicates whether the TCP connection was a WebSocket request.

System_CAPS_pubpropertyKeepAlive

Gets a Boolean value that indicates whether the client requests a persistent connection.

System_CAPS_pubpropertyLocalEndPoint

Get the server IP address and port number to which the request is directed.

System_CAPS_pubpropertyProtocolVersion

Gets the HTTP version used by the requesting client.

System_CAPS_pubpropertyQueryString

Gets the query string included in the request.

System_CAPS_pubpropertyRawUrl

Gets the URL information (without the host and port) requested by the client.

System_CAPS_pubpropertyRemoteEndPoint

Gets the client IP address and port number from which the request originated.

System_CAPS_pubpropertyRequestTraceIdentifier

Gets the request identifier of the incoming HTTP request.

System_CAPS_pubpropertyServiceName

Gets the Service Provider Name (SPN) that the client sent on the request.

System_CAPS_pubpropertyTransportContext

Gets the TransportContext for the client request.

System_CAPS_pubpropertyUrl

Gets the Uri object requested by the client.

System_CAPS_pubpropertyUrlReferrer

Gets the Uniform Resource Identifier (URI) of the resource that referred the client to the server.

System_CAPS_pubpropertyUserAgent

Gets the user agent presented by the client.

System_CAPS_pubpropertyUserHostAddress

Gets the server IP address and port number to which the request is directed.

System_CAPS_pubpropertyUserHostName

Gets the DNS name and, if provided, the port number specified by the client.

System_CAPS_pubpropertyUserLanguages

Gets the natural languages that are preferred for the response.

Return to top
Show:
© 2016 Microsoft