SecureBlackbox 2020 .NET Edition

Questions / Feedback?

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.

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