CommandStart Event
Marks the commencement of a command execution.
Syntax
public event OnCommandStartHandler OnCommandStart; public delegate void OnCommandStartHandler(object sender, SshclientCommandStartEventArgs e); public class SshclientCommandStartEventArgs : EventArgs { public string Command { get; } }
Public Event OnCommandStart As OnCommandStartHandler Public Delegate Sub OnCommandStartHandler(sender As Object, e As SshclientCommandStartEventArgs) Public Class SshclientCommandStartEventArgs Inherits EventArgs Public ReadOnly Property Command As String End Class
Remarks
Subscribe to this event to be notified about the start of execution of a remote command. The Command parameter indicates the command being started.
This event is fired for all commands in the Commands list, in order. The completion of the command is reported via the CommandCompleted event.