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.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 .NET Edition - Version 20.0 [Build 8501]