Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.1k views
in .NET FTP by (800 points)
Hi,

In your trial version of edtFTPnet/Pro, the license key and license owner must be supplied every time eg when creating a new SecureFTPConnection.

Is this the case with the registered version also?

I have placed an order at my company for it, but being a well oiled corporate machine, it will easily take 30 days to get it approved and through the system.
Meantime I have to write my code with the trial version.

So if the license key etc must be supplied in the full version then I will store the details in a config file and wrap the calls to construct ftp objects, but if not, then I don't have to bother....

Can you advise please?

many thanks

6 Answers

0 votes
by (162k points)
The trial and non-trial versions are identical, so yes. However edtFTPnet/PRO will read the license straight out of a config file too, e.g.:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <add key="license.owner" value="trialuser" />
    <add key="license.key" value="xxx-xxxx-xxxx-xxxx" />
    <add key="license.product" value="edtftpnetpro" />
  </appSettings>
</configuration>


Using the properties was only added for people who don't have access to a configuration file.
0 votes
by (800 points)
Hi Bruce,

that's great thanks.
What should I set <add key="license.product" value="edtftpnetpro" /> to for the trial version?

tnx
0 votes
by (162k points)
Actually looking at the code it is no longer necessary to use license.product at all. Just the owner & key are enough.

Hi Bruce,

that's great thanks.
What should I set <add key="license.product" value="edtftpnetpro" /> to for the trial version?

tnx
0 votes
by (800 points)
Cool, okay.

One last question - is it possible to override the bit that does the reading from the app.config file?
My app.config file contains a number of different configurations, depending on the environment it is running in, so I really need to pull the settings from my custom appSettings section rather than the default one.
0 votes
by (162k points)
Yes, just set the properties on the SecureFTPConnection using your config class.
0 votes
by (800 points)
lol, yeah sorry, bit of a brain f*rt there :)

tnx again for help - and v.speedy responses!

Categories

...