LicenseException in WeOnlyDo.Client.SFTP.dll 3.4.6 - WeOnlyDo Discussion board

LicenseException in WeOnlyDo.Client.SFTP.dll 3.4.6 (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Andrew Rudenko, Thursday, November 21, 2013, 15:32 (3801 days ago)

Hello,

I'm using WeOnlyDo.Client.SFTP in the following way:

var sftp = new SFTP();
sftp.Hostname = "...";
sftp.Login = "...";
sftp.Password = "...";
string remotePath = "...";
sftp.Blocking = true;
sftp.LicenseKey = "XXXX-XXXX-XXXX-XXXX";

This code is present in my <SFTP_USING>.dll that I reference in my program.
But when I try to execute the program I receive the LicenseException stating

"An instance of type 'WeOnlyDo.Client.SFTP' was being created, and a valid license could not be granted for the type 'WeOnlyDo.Client.SFTP'. Please, contact the manufacturer of the component for more information."

I've already tried to add licenses.licx file to the <SFTP_USING>.dll with content "WeOnlyDo.Client.SFTP, WeOnlyDo.Client.SFTP", and made sure the assembly contains the <SFTP_USING>.dll.licenses resource, but the error persists.

There were no such issues with the trial version, but after purchase I can't make it work.

Could you please help?

LicenseException in WeOnlyDo.Client.SFTP.dll 3.4.6

by wodDrazen, Thursday, November 21, 2013, 15:37 (3801 days ago) @ Andrew Rudenko

Hi Andrew,


Did you insert your License key value inside LicenseKey Property?

Let us know how it goes.


Regards,
Drazen

--
_________________________________________________
WeOnlyDo! Software - Internet Security Components
----------=== http://www.weonlydo.com ===----------

LicenseException in WeOnlyDo.Client.SFTP.dll 3.4.6

by Andrew Rudenko, Thursday, November 21, 2013, 16:03 (3801 days ago) @ wodDrazen

Hi Andrew,


Did you insert your License key value inside LicenseKey Property?

Let us know how it goes.


Regards,
Drazen

Yes, I did.

Actually, I've just realized that I haven't installed the product (it happened to be unnecessary with trial assembly). After installation everything works like a charm, so I have the only question - will I need to install the library on each server my application is installed, or adding the "...dll.licenses" resource is enough?

LicenseException in WeOnlyDo.Client.SFTP.dll 3.4.6

by wodDrazen, Thursday, November 21, 2013, 16:09 (3801 days ago) @ Andrew Rudenko

Andrew,

Excellent we are happy to hear that it works now.

You only need to distribue WeOnlyDo.Client.SFTP.dll with your application.

Drazen

--
_________________________________________________
WeOnlyDo! Software - Internet Security Components
----------=== http://www.weonlydo.com ===----------

LicenseException in WeOnlyDo.Client.SFTP.dll 3.4.6

by Andrew Rudenko, Thursday, November 21, 2013, 16:15 (3801 days ago) @ wodDrazen

Awesome, thank you for the replies.