This documentation is archived and is not being maintained.
Provides a simple, programmatically controlled HTTP protocol listener. This class cannot be inherited.
The following tables list the members exposed by the HttpListener type.
|AuthenticationSchemes||Gets or sets the scheme used to authenticate clients.|
|AuthenticationSchemeSelectorDelegate||Gets or sets the delegate called to determine the protocol used to authenticate clients.|
|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.|
|IsListening||Gets a value that indicates whether HttpListener has been started.|
|IsSupported||Gets a value that indicates whether HttpListener can be used with the current operating system.|
|Prefixes||Gets the Uniform Resource Identifier (URI) prefixes handled by this HttpListener object.|
|Realm||Gets or sets the realm, or resource partition, associated with this HttpListener object.|
|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.|
(see also Protected Methods )
|Abort||Shuts down the HttpListener object immediately, discarding all currently queued requests.|
|BeginGetContext||Begins asynchronously retrieving an incoming request.|
|Close||Shuts down the HttpListener after processing all currently queued requests.|
|EndGetContext||Completes an asynchronous operation to retrieve an incoming client request.|
|Equals||Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)|
|GetContext||Waits for an incoming request and returns when one is received.|
|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.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|Start||Allows this instance to receive incoming requests.|
|Stop||Causes this instance to stop receiving incoming requests.|
|ToString||Returns a String that represents the current Object. (Inherited from Object.)|