C# Class HttpServer.HttpListener

Http listener.
Inheritance: IHttpListener
Exibir arquivo Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Methods

Method Description
HttpListener ( IPAddress address, int port, X509Certificate certificate, X509Certificate rootCA, SslProtocols protocol, bool requireClientCerts ) : System

Launch HttpListener in SSL mode

Method Details

HttpListener() public method

Launch HttpListener in SSL mode
public HttpListener ( IPAddress address, int port, X509Certificate certificate, X509Certificate rootCA, SslProtocols protocol, bool requireClientCerts ) : System
address System.Net.IPAddress IP Address to accept connections on
port int TCP Port to listen on, default HTTPS port is 443
certificate System.Security.Cryptography.X509Certificates.X509Certificate Certificate to use
rootCA System.Security.Cryptography.X509Certificates.X509Certificate Certificate for the root certificate authority that signed the server /// certificate and/or any client certificates
protocol SslProtocols which HTTPS protocol to use, default is TLS.
requireClientCerts bool True to require client SSL certificates, otherwise false
return System