







![]() ![]() |
C# Webserver |
HttpListener Constructor (IPAddress, Int32, X509Certificate) |
HttpListener Class See Also Send Feedback |
Launch HttpListener in SSL mode
Namespace:
HttpServer
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public HttpListener( IPAddress address, int port, X509Certificate certificate ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ address As IPAddress, _ port As Integer, _ certificate As X509Certificate _ ) |
Visual C++ |
---|
public: HttpListener( IPAddress^ address, int port, X509Certificate^ certificate ) |
Parameters
- address
- Type: System.Net..::.IPAddress
IP Address to accept connections on
- port
- Type: System..::.Int32
TCP Port to listen on, default HTTPS port is 443
- certificate
- Type: System.Security.Cryptography.X509Certificates..::.X509Certificate
Certificate to use