SSHChannelData Event
Fired when the SSHHost sends channel data to the client.
Syntax
public event OnSSHChannelDataHandler OnSSHChannelData; public delegate void OnSSHChannelDataHandler(object sender, SshclientSSHChannelDataEventArgs e); public class SshclientSSHChannelDataEventArgs : EventArgs { public string ChannelId { get; } public string ChannelData { get; }
public byte[] ChannelDataB { get; } }
Public Event OnSSHChannelData As OnSSHChannelDataHandler Public Delegate Sub OnSSHChannelDataHandler(sender As Object, e As SshclientSSHChannelDataEventArgs) Public Class SshclientSSHChannelDataEventArgs Inherits EventArgs Public ReadOnly Property ChannelId As String Public ReadOnly Property ChannelData As String
Public ReadOnly Property ChannelDataB As Byte() End Class
Remarks
The SSHChannelData event will fire as data is received for the given ChannelId. ChannelData will contain the decrypted contents of the SSH packet.