0 votes
by (160 points)

2 Answers

0 votes
by (75.8k points)

// Add this line to your application to set your license key 
// before working with Rebex classes.
Rebex.Licensing.Key = "==YOUR_KEY_HERE==";
0 votes
by (160 points)

by (75.8k points)
I have examined the error you got once more and I realized that the error is not related to Full or Trial versions at all. The `WaitingForActivation` is state of the Task returned by `ssh.ConnectAsync()` call.

Can you please send sample project to support@rebex.net, so we can reproduce the issue?
by (160 points)
Lukas:

I've send a project sample to you. The zip file includes: readme, RebexTE (the .dll I created) and RebexTE-Unit Test for run against the dll file.

Thanks for your help.
by (75.8k points)
Thank you for sample code.

It showed, that you are calling `ssh.ConnectAsync()`, but you never await it.

I have sent you more details and suggestion in reply to your email.
by (160 points)
Lukas:

Thanks for the answer. After some research I decided I didn't need to connect asynchronously. I changed my code to ssh.Connect() and things worked fine.
Thanks again.
...