Xceed FTP Library Documentation
Example topics / License method examples
In This Topic
    License method examples
    In This Topic

    Calling the license method is straightforward. Obtain your license key string (as detailed in the license method topic) and simply call the method right after you have instantiated your object, but before you call any other methods,as shown below:

    Visual Basic Copy Code

    Dim WithEvents MyFTPInstance As XceedFtp
    Set MyFTPInstance = New XceedFtp 

    MyFTPInstance.License("Your license key string here")
    ' ...Set properties and call methods now

    Delphi Copy Code

    { Instantiate your instance as XceedFtp1 }
    XceedFtp1.License('your license key string here'); 

    { ...Set properties and call methods now }