Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TlsSocket Constructor

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

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.

In This Article
  • TlsSocket(ISocket)
  • TlsSocket()
  • TlsSocket(Socket)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies