TlsSocket Constructor
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)
TlsSocket(ISocket)
Initializes an instance of the Tls
Declaration
public TlsSocket(ISocket socket)
Parameters
Type | Name | Description |
---|---|---|
ISocket | socket | Base socket. |
Remarks
Use this if you need to upgrade an existing socket to use TLS/SSL.
TlsSocket()
Initializes an instance of the Tls
Declaration
public TlsSocket()
Remarks
The default constructor initializes an instance of the Tls
TlsSocket(Socket)
Initializes an instance of the Tls
Declaration
public TlsSocket(Socket socket)
Parameters
Type | Name | Description |
---|---|---|
Socket | socket | Base socket. |
Remarks
Use this if you need to upgrade an existing socket to use TLS/SSL.