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 ISocket _
)
C#
public TlsSocket(
	ISocket socket
)

Parameters

socket
Type: Rebex.Net..::..ISocket
Base socket.

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