Licensing error (General questions)
Get a licensing error on attempting to connect.
Using the trial version.
no license file in my project.
An unhandled error occured
System.Exception: Could not read licensing data. If running from ASPX please contact general@weonlydo.com at q.w() at WeOnlyDo.Client.SSH.Connect() at BandwidthData.Ssh.ExecuteCommand(String command) in ssh.cs:line 26 at ....
Sample code:
SSH sshClient = new SSH();
sshClient.Login = abc ;
sshClient.Password = abc ;
sshClient.Encryption = SSH.EncryptionMethods.Auto;
sshClient.Hostname = 10.0.0.1 ;
sshClient.Blocking = true;
sshClient.Connect();
string result = sshClient.Execute(command);
sshClient.Disconnect(true);
return result;