TlsSocket Constructor
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 8.0.9673)
TlsSocket(ISocket)
Initializes an instance of the TlsSocket class with the specified base socket. Note: Stand-alone usage of this class is deprecated. Use TlsClientSocket and TlsServerSocket instead.
Declaration
public TlsSocket(ISocket socket)
Parameters
| Type | Name | Description |
|---|---|---|
| ISocket | socket | Base socket. |
Remarks
TlsSocket serves as a base class for
TlsClientSocket and
TlsServerSocket from Rebex.Tls assembly.
Stand-alone usage of TlsSocket is deprecated because it does not support TLS 1.3.
Please use TlsClientSocket/TlsServerSocket instead.
TlsSocket()
Initializes an instance of the TlsSocket class. Note: Stand-alone usage of this class is deprecated. Use TlsClientSocket and TlsServerSocket instead.
Declaration
public TlsSocket()
Remarks
TlsSocket serves as a base class for
TlsClientSocket and
TlsServerSocket from Rebex.Tls assembly.
Stand-alone usage of TlsSocket is deprecated because it does not support TLS 1.3.
Please use TlsClientSocket/TlsServerSocket instead.
TlsSocket(Socket)
Initializes an instance of the TlsSocket class with the specified base socket. Note: Stand-alone usage of this class is deprecated. Use TlsClientSocket and TlsServerSocket instead.
Declaration
public TlsSocket(Socket socket)
Parameters
| Type | Name | Description |
|---|---|---|
| Socket | socket | Base socket. |
Remarks
TlsSocket serves as a base class for
TlsClientSocket and
TlsServerSocket from Rebex.Tls assembly.
Stand-alone usage of TlsSocket is deprecated because it does not support TLS 1.3.
Please use TlsClientSocket/TlsServerSocket instead.