Discuss this help topic in SecureBlackbox Forum

TElSSHClient.OnSend

TElSSHClient     See also     


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


This event is fired when TElSSHClient needs to transfer the encrypted data to the server

Declaration

[C#/Java]
    event TSSHSendEvent OnSend;
    delegate void TSSHSendEvent(object Sender, byte[] Buffer);

[VB.NET]
    Event OnSend As TSSHSendEvent
    Delegate Sub TSSHSendEvent(ByVal Sender As Object, ByVal Buffer As Byte())

[Pascal]
    property OnSend : TSSHSendEvent;
    TSSHSendEvent = procedure (Sender: TObject; Buffer : pointer; Size : longint) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Buffer - The buffer with encrypted data
  • Size - The length of the data in buffer (in bytes)

Description

    This event is fired when TElSSHClient needs to transfer the portion of encrypted data to the server. It's a good idea to call a send function from this event's handler.

You must handle this event in any case. There is no other way to pass the encrypted data from TElSSHClient to server, except this event!

See also:     OnReceive    

Discuss this help topic in SecureBlackbox Forum