TlsSocket Constructor
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
TlsSocket(ISocket)
Initializes an instance of the TlsSocket class with the specified base socket.
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 TlsSocket class.
Declaration
public TlsSocket()
Remarks
The default constructor initializes an instance of the TlsSocket.
TlsSocket(Socket)
Initializes an instance of the TlsSocket class with the specified base socket.
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.