Discuss this help topic in SecureBlackbox Forum

TElIdSSHClientServerIOHandler.OnBeforeOpenCommand

TElIdSSHClientServerIOHandler     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when client requested a command execution.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    property OnBeforeOpenCommand : TSSHBeforeOpenCommandEvent;
    TSSHBeforeOpenCommandEvent = procedure(Sender: TObject; Connection const Command: string; var Accept : boolean) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Connection - logical connection
  • Command - command to be executed
  • Accept - set this parameter to True if you agree to execute the Command

Description

    If you agree to execute the Command set Access parameter to True.
     Note,session for Connection has been established before command opening. This event has to be preceded by OnBeforeOpenSession and OnOpenSession ones.

Discuss this help topic in SecureBlackbox Forum