IP*Works! SSH V9 - Online Help
IP*Works! SSH V9
Questions / Feedback?

SSHChannelClosed Event

Fired when a channel is closed.

Syntax

[VB.NET]
Public Event OnSSHChannelClosed As OnSSHChannelClosedHandler
[C#]
public event OnSSHChannelClosedHandler OnSSHChannelClosed;

public delegate void OnSSHChannelClosedHandler(object sender, SshdaemonSSHChannelClosedEventArgs e);

class SshdaemonSSHChannelClosedEventArgs : EventArgs {
  string ConnectionId {get;}
  string ChannelId {get;}
}

Remarks

The SSHChannelClosed event is fired when a channel is closed on an SSH connection.

ConnectionId identifies the connection. ChannelId identifies the channel.

Note: Processing long-running requests, including sending channel data, inside this event may cause the underlying transport to stop processing SSH data until the event returns. In order to prevent this from happening, all requests should be processed asynchronously in a separate thread outside of this event.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0