Thresher 1.2 Class Documentation

Connection.Disconnect Method 

Sends a 'Quit' message to the server, closes the connection, and stops the listening thread.

[Visual Basic]
Public Sub Disconnect( _
   ByVal reason As String _
)
[C#]
public void Disconnect(
   string reason
);

Parameters

reason
A message displayed to IRC users upon disconnect.

Remarks

The state of the connection will remain the same even after a disconnect, so the connection can be reopened. All the event handlers will remain registered.

See Also

Connection Class | Sharkbite.Irc Namespace