Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section outlines simple guidelines that you can follow to detect a real license, and in case of failure, to you don't find one, detect a trial license.

For example, say you have chosen a trial license as a way of providing your potential customer with demo versions of your software, but you might first want to check whether a real license is also available. (Note that there is no need to check or use a trial license if your end user has already bought a real one.) For this purpose, you can use the following code example to check out a license from a server, and when it is not available, to check out a trial license. If no license is available licenses at all are available, the user will see the "Unable to checkout from trial license:" message, as shown below.

...