Stdout Event

Fired when data (complete lines) come in through stdout.

Syntax

public event OnStdoutHandler OnStdout;

public delegate void OnStdoutHandler(object sender, RexecStdoutEventArgs e);

public class RexecStdoutEventArgs : EventArgs {
  public string Text { get; }
public byte[] TextB { get; } public bool EOL { get; } }
Public Event OnStdout As OnStdoutHandler

Public Delegate Sub OnStdoutHandler(sender As Object, e As RexecStdoutEventArgs)

Public Class RexecStdoutEventArgs Inherits EventArgs
  Public ReadOnly Property Text As String
Public ReadOnly Property TextB As Byte() Public ReadOnly Property EOL As Boolean End Class

Remarks

The Stdout event is fired every time the process on the remote host outputs a line in its standard output. The incoming data is provided through the Text parameter.

EOL indicates whether the EOL string was found on the end of Text or not. If the EOL string was found then EOL is True, otherwise it is False.

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