Mentalis.org Security Library documentation

SecureNetworkStream.Close Method 

Closes the stream and optionally closes the underlying SecureSocket.

[Visual Basic]
Overrides Public Sub Close()
[C#]
public override void Close();

Remarks

The Close method frees resources used by the SecureNetworkStream instance and, if the SecureNetworkStream owns the underlying socket, closes the underlying socket.

See Also

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