Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Viewing all articles
Browse latest Browse all 3862

Upgraded Rebex missing ScpTransferProgressEventHandler

$
0
0

I inherited code which used an older version of Rebex. I am trying to upgrade it to work around a SCP::FileGet issue but am finding some incompatibilites. Is there a page that describes how to convert from older versions? The old versions included Rebex.Networking, Version=3.0.4444.0 and Rebex.Terminal, Version=1.0.4444.0 and I am trying to replace it with Version=6.0.8432.0. The old .Net was 4.5.2 and I am updating this to 4.6.

The incompatibilities I have are:

  1. Rebex::Net::ScpTransferProgressEventHandler seems to be missing. This was used to add a C++ handler like this:
    m_scp->TransferProgress += gcnew Rebex::Net::ScpTransferProgressEventHandler(&MyClass::OnTransferProgress);
    where OnTransferProgress is declared within a C++ class as
    static void OnTransferProgress(Object^ sender, Rebex::Net::ScpTransferProgressEventArgs^ args);
    How should I now add this handler?

  2. There is also an instantiation of Rebex.TerminalEmulation.SshTerminalControl, which I cannot find in Rebex.Terminal.Control, though it is mentioned on this page: https://www.rebex.net/terminal-emulation.net/features/terminal-emulation.aspx and I find this class in a sample. Could I simply use Rebex.TerminalEmulation.TerminalControl instead?


Viewing all articles
Browse latest Browse all 3862

Trending Articles