Versions Compared

Key

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

The BORROW directive enables leasing of licenses to computers that can be disconnected from the network. The parameter associated with BORROW tells how many hours a license can be leased. Valid values range from 1 to 8760 hours (1 year).

This directive can be used only with network licenses; accordingly, the COUNT directive must be set if BORROW is set.

...

Usage and recommendations

The license borrowing feature lets users run your software on a computer that is not continuously connected to the network, such as a laptop, by allowing a floating network license to be leased for a time-limited period.
Borrowing works by making a floating network license available for a certain amount of time to the requesting computer, and making it unavailable on the license server for this time. Through a borrow request, the client can obtain the time-limited license, which will work like a local uncounted license.

When performing borrowing, a temporary license file is written on the client side, which will be used for subsequent license requests, with the checked out license(s) marked unavailable for the same period of time on the license server.

At the time of the borrow request, the client must be connected to the network. After a successful borrow request, the client will make use of its temporary license and can be disconnected from the network. Note that the license is borrowed for only the currently logged in user of the client machine.

Borrowing is enabled by default. You may wish to disable borrowing to increase checkout speed (see Optimizing license checkout speed) or to increase security. Although fairly secure, borrowing is by nature less secure than other mechanisms in LM-X. You should recognize that there is a trade-off between the convenience offered by implementing borrowing and the overall strength of your licensing solution.

To use borrowing for your applications, you should set the permitted lease time length at license creation, as described in FEATURE settings. Licensed applications must then enable borrowing by calling LMX_SetOption(). (See the See "LMX_OPT_ALLOW_BORROW" on page description in LMX_SetOption.) The maximum number of hours that may be set is 8760, or one year; however, setting the shortest reasonable lease times is recommended for best security.

The client computer can borrow a license or return the license early using a normal checkout with the proper environment variable settings, as described in See "Controlling license behavior" on page .

If a feature is borrowed for more than one hour, and the client reestablishes a connection with the license server, the client will refresh the borrow time. For example:

...