Initializes an instance of the TlsClientSocket class with the specified base socket.

Namespace:  Rebex.Net
Assembly:  Rebex.Tls (in Rebex.Tls.dll)

Syntax

Visual Basic
Public Sub New ( _
	socket As Socket _
)
C#
public TlsClientSocket(
	Socket socket
)

Parameters

socket
Type: System.Net.Sockets..::..Socket
Base socket.

Remarks

Use this if you need to upgrade an existing socket to use TLS.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also