How to use the license file
  

edtFTPnet/Express uses a license code to control use of the product. The Connect() methods of  ExFTPConnection check that a valid license is available, otherwise an exception is thrown.

The license is supplied in a license.xml file, of which an example is shown below:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <!-- production licence -->
    <!-- expires 31 Dec 2099 -->
    <add key="license.owner" value="theowner"/>
    <add key="license.product" value="edtftpnetexpress"/>
    <add key="license.key" value="111-1111-1111-1111"/>
  </appSettings>
</configuration>

License.xml is in a suitable format for use in an application's standard configuration file. Simply add the section within "appSettings" to the "appSettings" section of your application configuration file.

Some applications may require the license settings to be supplied in a more direct manner. For example, if a DLL was being produced that uses edtFTPnet/Express, it may not have its own configuration file. Similarly, if the Connection Tester is used at design time, the application's configuration file is not loaded.

In this case, the LicenseKey and LicenseOwner properties should be used. The key and owner values are set explicitly, and the class will be unlocked for use. For example:

        ftpConnection.LicenseOwner = "theowner";
        ftpConnection.LicenseKey = "111-1111-1111-1111";

At design time, these properties can be set explicitly in the component's Properties window. They can be found in the Licensing category.
Once the class is unlocked, you can then connect to an FTP server.