This is a follow up question bequase of this Toppic:
Is it possible to check from the Application ( Lazarus ) if the Server Supports TLS + AES and if not just connect with TLS?
Shalom
Manfred
This is a follow up question bequase of this Toppic:
Is it possible to check from the Application ( Lazarus ) if the Server Supports TLS + AES and if not just connect with TLS?
Shalom
Manfred
The easiest way is totry to login with AES enabled and if the login fails with network error then to try again this time w/o the AES enabled.
Thank you for your Help.
try
// Try first AES with TLS
(RORemoteService2 as IBaseLoginService).LoginEx(Relativity_Connection_String);
Except
// If Error then only TLS
begin
ROBinMessage1.Envelopes.Delete(0);
(RORemoteService2 as IBaseLoginService).LoginEx(Relativity_Connection_String);
end;
end;