Skip to content

Microsoft .NET Class Definitions

Scott Offen edited this page Aug 18, 2016 · 1 revision
T Version Name Description
P All AuthenticationSchemes Gets or sets the scheme used to authenticate clients.
P All AuthenticationSchemeSelectorDelegate Gets or sets the delegate called to determine the protocol used to authenticate clients.
P All DefaultServiceNames Gets a default list of Service Provider Names (SPNs) as determined by registered prefixes.
P All ExtendedProtectionPolicy Get or set the ExtendedProtectionPolicy to use for extended protection for a session.
P All ExtendedProtectionSelectorDelegate Get or set the delegate called to determine the ExtendedProtectionPolicy to use for each request.
P All IgnoreWriteExceptions Gets or sets a Boolean value that specifies whether your application receives exceptions that occur when an HttpListener sends the response to the client.
P All IsListening Gets a value that indicates whether HttpListener has been started.
P All IsSupported Gets a value that indicates whether HttpListener can be used with the current operating system.
P All Prefixes Gets the Uniform Resource Identifier (URI) prefixes handled by this HttpListener object.
P All Realm Gets or sets the realm, or resource partition, associated with this HttpListener object.
P Current TimeoutManager The timeout manager for this HttpListener instance.
P All UnsafeConnectionNtlmAuthentication Gets or sets a Boolean value that controls whether, when NTLM is used, additional requests using the same Transmission Control Protocol (TCP) connection are required to authenticate.
M All Abort Shuts down the HttpListener object immediately, discarding all currently queued requests.
M All BeginGetContext Begins asynchronously retrieving an incoming request.
M All Close Shuts down the HttpListener.
M All EndGetContext Completes an asynchronous operation to retrieve an incoming client request.
M All Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
M 4.0 Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
M All GetContext Waits for an incoming request and returns when one is received.
M Current GetContextAsync Waits for an incoming request as an asynchronous operation.
M All GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
M All GetType Gets the Type of the current instance. (Inherited from Object.)
M All MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
M All Start Allows this instance to receive incoming requests.
M All Stop Causes this instance to stop receiving incoming requests.
M All ToString Returns a string that represents the current object. (Inherited from Object.)
T Version Name Description
P All Request Gets the HttpListenerRequest that represents a client's request for a resource.
P All Response Gets the HttpListenerResponse object that will be sent to the client in response to the client's request.
P All User Gets an object used to obtain identity, authentication information, and security roles for the client whose request is represented by this HttpListenerContext object.
M Current AcceptWebSocketAsync(String) Accept a WebSocket connection as an asynchronous operation.
M Current AcceptWebSocketAsync(String, Int32, TimeSpan) Accept a WebSocket connection specifying the supported WebSocket sub-protocol, receive buffer size, and WebSocket keep-alive interval as an asynchronous operation.
M Current AcceptWebSocketAsync(String, Int32, TimeSpan, ArraySegment) Accept a WebSocket connection specifying the supported WebSocket sub-protocol, receive buffer size, WebSocket keep-alive interval, and the internal buffer as an asynchronous operation.
M Current AcceptWebSocketAsync(String, TimeSpan) Accept a WebSocket connection specifying the supported WebSocket sub-protocol and WebSocket keep-alive interval as an asynchronous operation.
T Version Name Description
P All AcceptTypes Gets the MIME types accepted by the client.
P All ClientCertificateError Gets an error code that identifies a problem with the X509Certificate provided by the client.
P All ContentEncoding Gets the content encoding that can be used with data sent with the request
P All ContentLength64 Gets the length of the body data included in the request.
P All ContentType Gets the MIME type of the body data included in the request.
P All Cookies Gets the cookies sent with the request.
P All HasEntityBody Gets a Boolean value that indicates whether the request has associated body data.
P All Headers Gets the collection of header name/value pairs sent in the request.
P All HttpMethod Gets the HTTP method specified by the client.
P All InputStream Gets a stream that contains the body data sent by the client.
P All IsAuthenticated Gets a Boolean value that indicates whether the client sending this request is authenticated.
P All IsLocal Gets a Boolean value that indicates whether the request is sent from the local computer.
P All IsSecureConnection Gets a Boolean value that indicates whether the TCP connection used to send the request is using the Secure Sockets Layer (SSL) protocol.
P Current IsWebSocketRequest Gets a Boolean value that indicates whether the TCP connection was a WebSocket request.
P All KeepAlive Gets a Boolean value that indicates whether the client requests a persistent connection.
P All LocalEndPoint Get the server IP address and port number to which the request is directed.
P All ProtocolVersion Gets the HTTP version used by the requesting client.
P All QueryString Gets the query string included in the request.
P All RawUrl Gets the URL information (without the host and port) requested by the client.
P All RemoteEndPoint Gets the client IP address and port number from which the request originated.
P All RequestTraceIdentifier Gets the request identifier of the incoming HTTP request.
P All ServiceName Gets the Service Provider Name (SPN) that the client sent on the request.
P All TransportContext Gets the TransportContext for the client request.
P All Url Gets the Uri object requested by the client.
P All UrlReferrer Gets the Uniform Resource Identifier (URI) of the resource that referred the client to the server.
P All UserAgent Gets the user agent presented by the client.
P All UserHostAddress Gets the server IP address and port number to which the request is directed.
P All UserHostName Gets the DNS name and, if provided, the port number specified by the client.
P All UserLanguages Gets the natural languages that are preferred for the response.
M 4.0 BeginGetClientCertificate Begins an asynchronous request for the client's X.509 v.3 certificate.
M 4.0 EndGetClientCertificate Ends an asynchronous request for the client's X.509 v.3 certificate.
M Current BeginGetClientCertificate(AsyncCallback, Object) Begins an asynchronous request for the client's X.509 v.3 certificate.
M Current EndGetClientCertificate(IAsyncResult) Ends an asynchronous request for the client's X.509 v.3 certificate.
M 4.0 Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
M 4.0 GetClientCertificate Retrieves the client's X.509 v.3 certificate.
M Current GetClientCertificateAsync() Retrieves the client's X.509 v.3 certificate as an asynchronous operation.
T Version Name Description
P All ContentEncoding Gets or sets the Encoding for this response's OutputStream.
P All ContentLength64 Gets or sets the number of bytes in the body data included in the response.
P All ContentType Gets or sets the MIME type of the content returned.
P All Cookies Gets or sets the collection of cookies returned with the response.
P All Headers Gets or sets the collection of header name/value pairs returned by the server.
P All KeepAlive Gets or sets a value indicating whether the server requests a persistent connection.
P All OutputStream Gets a Stream object to which a response can be written.
P All ProtocolVersion Gets or sets the HTTP version used for the response.
P All RedirectLocation Gets or sets the value of the HTTP Location header in this response.
P All SendChunked Gets or sets whether the response uses chunked transfer encoding.
P All StatusCode Gets or sets the HTTP status code to be returned to the client.
P All StatusDescription Gets or sets a text description of the HTTP status code returned to the client.
M All Abort Closes the connection to the client without sending a response.
M All AddHeader Adds the specified header and value to the HTTP headers for this response.
M All AppendCookie Adds the specified Cookie to the collection of cookies for this response.
M All AppendHeader Appends a value to the specified HTTP header to be sent with this response.
M All Close() Sends the response to the client and releases the resources held by this HttpListenerResponse instance.
M All Close(Byte[], Boolean) Returns the specified byte array to the client and releases the resources held by this HttpListenerResponse instance.
M 4.0 CopyFrom Copies properties from the specified HttpListenerResponse to this response.
M All Redirect Configures the response to redirect the client to the specified URL.
M All SetCookie Adds or updates a Cookie in the collection of cookies sent with this response.