PasswordChangeRequest Event
This event is fired when a password change is requested.
Syntax
typedef struct { String Prompt; String NewPassword; bool Cancel; } TsbiSSHClientPasswordChangeRequestEventParams; typedef void __fastcall (__closure *TsbiSSHClientPasswordChangeRequestEvent)(System::TObject* Sender, TsbiSSHClientPasswordChangeRequestEventParams *e); __property TsbiSSHClientPasswordChangeRequestEvent OnPasswordChangeRequest = { read=FOnPasswordChangeRequest, write=FOnPasswordChangeRequest };
Remarks
This event is fired by the component when a password change is requested by the server. Prompt contains the password prompt message. Handler should either provide the new password via NewPassword, or deny the request by setting Cancel to true.