Mentalis.org Security Library documentation

SecureTcpClient.Client Property

Gets or sets the underlying SecureSocket.

[Visual Basic]
Protected Property Client As SecureSocket
[C#]
protected SecureSocket Client {get; set;}

Property Value

The underlying Network Socket.

Remarks

SecureTcpClient creates a SecureSocket to send and receive data over a network. Classes deriving from SecureTcpClient can use this property to get or set this SecureSocket. Use the underlying SecureSocket returned from Client, if you require access beyond that which SecureTcpClient provides. You can also use Client to set the underlying SecureSocket to an existing SecureSocket. This might be useful if you want to take advantage of the simplicity of SecureTcpClient using a pre-existing SecureSocket.

See Also

SecureTcpClient Class | SecureTcpClient Members | Org.Mentalis.Security.Ssl Namespace