Basic questions

What is the difference between standalone library and activation server?

Technically, activation server provides more control of your licensing and better enforces licensing policies and terms.

Feel free to check feature comparsion to get better overview.

What is the purpose of TLL

TLL was designed to protect your application’s licensing. It can

  • Generate safe license keys
  • Be used to validate licenses provided by user with few lines of code
  • Save information about licensing options easily and safely
    • Expiration
    • Hardware locking
    • Features enabled
    • Custom information
  • Be used to build your own online activation server
  • Automatically track your application usage and detect piracy with TLL Insights
  • Much more…
    • Encrypt any data, serialize and deserialize objects, get time from remote server, etc.

What the customer needs to do in order to install a license after I send my software to him?

With TLL you can send license file or license string (text) to customer, generated by toolbox or the library itself. Customer will need to select file through some dialog (OpenFileDialog) or copy and paste license string. You can choose the preferred way.

If you choose to use TLL V2 Easy integration, you can call the Register method from any form you create for your product registration.

This process can be optionally automatized using activation server.

What types of projects can use the library?

All modern .NET (2.0+) versions and languages (C#, C++, VB, F#) are supported.

Almost all versions of Windows (2000, XP, Vista, 7, 8, 10) are supported.

TLL can be registered in COM to be used in any other Windows application.

Who can use this product?

This library can be used by any software developer, who builds applications in one of the .NET languages (C#, VB, F#). All examples are available in C# and VB.

However, non-programmer can generate licenses via LibraryToolbox.exe easily. This means, that Treek’s Licensing Library can be used by licensing operator or your secretary for routine work.


How to add Treek’s Licensing Library to my project?

In Visual Studio, double click “My Project” to open project properties. On the left side, click “References” tab. Click on “Add” and browse to TreeksLicensingLibrary.dll or TreeksLicensingLibrary2.dll

What technical steps do I have to take to use Treek’s Licensing Library in my software?

There are only few steps needed to setup and they’re well described in documentation.


How to generate license signing key for my application?

There are two ways:

  1. Use LibraryToolbox.exe
    1. Open toolbox and click “Generate new” button.
    2. Choose the location, where will be your keypair stored
  2. Do it programatically via TreeksLicensingLibrary.LicenseSingingKey object
    1. Simply create new instance of TreeksLicensingLibrary.LicenseSingingKey
    2. Use TreeksLicensingLibrary.LicenseSingingKey.SaveFile or TreeksLicensingLibrary.LicenseSingingKey.PublicKeyXML and TreeksLicensingLibrary.LicenseSingingKey.PrivateKeyXML to work with your license signing key.

How to remove demo notification in TLL 2.0

First, you have to purchase license of TLL. When you receive your license, you have two options:

  1. Use TLL Init Chunk and put your license into it.
  2. Put your license string into TreeksLicensingLibrary2.DeveloperLicense.DeveloperLicenseContent property.
    1. To use  this “older approach” simply open “About” tab and click “Copy my license button”.  Then use copied value in your code to set DeveloperLicenseContent property

In TLL 2.0 we recommend the init chunk. As we typically provide you with license file, the approach should be following:

  1. Save your developer license file anywhere in your computer.
  2. Open TLL Toolbox and goto Developer license tab.
  3. Select “Use license file” and browse for file.
  4. Click “Apply developer license”.
  5. Now load (or create) license signing keys of your application.
  6. Click “Generate init chunk file” .
  7. Your license will be prefilled in TLL License field.
  8. You can copy the license string or generate and integrate TLL 2.0 using init chunk.


How to use TLL in non .NET applications?

You can use Treek’s Licensing Library through COM model. To use it, simply register TLL with Toolbox (Register COM tab). Exact usage depends on the development environment you use. Remember, that you have to register TLL on production machines. This can be done via RegAsm.exe (part of .NET framework). You can find the path and correct arguments in Treek’s Licensing Library toolbox, Register COM tab again.

In MS Office VBA projects, you can add reference to TreeksLicensingLibrary.tlb file after COM registration.

Occasionally, I get license expired even if it is valid. Why?

We have observed similar behavior, when “Treat offline as expired” license property is enabled. Sometimes, you won’t receive response from remote server. It can be due to remote server outage or because you have reached its limit of requests per specific time period.

The best solution for that is not to use this feature or use your own timeserver. TLL accepts any standard NTP server you choose.

Even if “Treat offline as expired” is not enabled, TLL tries to retrieve online time first and only if failed, it uses local computer time.


Can I redistribute library without purchasing license?

No, free version is only for evaluation purposes. It will display message every time, when you try to verify license.

When you purchase license, you can use and redistribute TreeksLicensingLibrary.dll within as many applications as you wish.