Back to FlowSsh Documentation

DisconnectEventHandler Delegate

[C#]

public delegate void DisconnectEventHandler(
  object sender,
  DisconnectReason reason,
  string desc);

Parameters

  • sender: The source of the event.
  • reason: DisconnectReason enumeration.
  • desc: A human-readable disconnect reason.

Remarks

This event can be invoked only on successfully connected clients. Except for a possibly registered progress handler (for a pending [Client]Disconnect request), no other client events will be invoked after [Client]OnDisconnect.