Stdout Event
Fired when data come in through stdout.
Syntax
public event OnStdoutHandler OnStdout; public delegate void OnStdoutHandler(object sender, PipeexecStdoutEventArgs e); public class PipeexecStdoutEventArgs : 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 PipeexecStdoutEventArgs) Public Class PipeexecStdoutEventArgs 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 outputs a line in its standard output. The incoming data is provided through the Text parameter.
EOL indicates whether the EOL string was found at the end of Text or not. If the EOL string was found, then EOL is True.
If Text is part of a data portion of length larger than MaxLineLength with no EOL strings in it, then EOL is False. Please note that this means that one or more DataIn events with EOL set to False can be received during a connection.
If the EOL property is "" (empty string), then EOL can be disregarded (it is always True).