The HttpListener class provides a programmatically controlled HTTP protocol listener. The listener is active for the lifetime of the HttpListener object and runs within your application.


The HttpListener class is built on top of HTTP.sys, which is the kernel mode listener that handles all HTTP traffic for Windows. HTTP.sys provides connection management, bandwidth throttling, and Web server logging. Use the HttpCfg.exe tool to add SSL certificates. For more information, see the documentation on the HttpCfg.exe tool in the Server documentation.

See also