Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
27 views
in .NET FTP by (51.4k points)
Although the edtFTPnet/PRO trial will look in the local machine's registry for the trial license key, there are many scenarios in which this isn't possible, such as when you need to test the trial on another machine. In these cases, you need to explicitly embed the trial license key in the code. How do you do that?

1 Answer

0 votes
by (51.4k points)
 
Best answer

You can obtain the edtFTPnet/PRO trial license key by executing the following command in the Windows console:

reg query "HKEY_CURRENT_USER\Software\Enterprise Distributed Technologies\edtFTPnet PRO" /v LicenseKey

This will output something like this:

HKEY_CURRENT_USER\Software\Enterprise Distributed Technologies\edtFTPnet PRO
    LicenseKey    REG_SZ    123-1234-1234-1234

The trial license key is the four-part number on the second line. For the trial, the license owner is always TrialUser.

To set use these in code:

mySecureFTPConnection.LicenseOwner = "TrialUser";
mySecureFTPConnection.LicenseKey = "123-1234-1234-1234";

make sure to substitute in the license key you obtained from output of the command above.

Categories

...