Mentalis.org Security Library documentation

SecureSocket.Shutdown Method 

Shuts down the secure connection.

[Visual Basic]
Overrides Public Sub Shutdown( _
   ByVal how As SocketShutdown _
)
[C#]
public override void Shutdown(
   SocketShutdown how
);

Exceptions

Exception TypeCondition
ObjectDisposedExceptionSecureSocket has been closed.
SocketExceptionAn operating system error occurs while accessing the SecureSocket.
SecurityExceptionAn error occurs while shutting the secure connection down.

See Also

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