SSHChannelEOF Event
Fired when the remote peer signals the end of the data stream for the channel.
Syntax
public event OnSSHChannelEOFHandler OnSSHChannelEOF; public delegate void OnSSHChannelEOFHandler(object sender, SshreversetunnelSSHChannelEOFEventArgs e); public class SshreversetunnelSSHChannelEOFEventArgs : EventArgs { public string ChannelId { get; } }
Public Event OnSSHChannelEOF As OnSSHChannelEOFHandler Public Delegate Sub OnSSHChannelEOFHandler(sender As Object, e As SshreversetunnelSSHChannelEOFEventArgs) Public Class SshreversetunnelSSHChannelEOFEventArgs Inherits EventArgs Public ReadOnly Property ChannelId As String End Class
Remarks
The SSHChannelEOF event is fired when the end of the data stream for a channel on an SSH connection is reached.
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.