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

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

Syntax

Visual Basic
Public Sub New ( _
	socket As Socket _
)
C#
public TlsSocket(
	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/SSL.

Remarks

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

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also