Skip to main content
This method will extend a license by a certain amount of days. If the key algorithm in the product is SKGL, the key string will be changed if necessary. Otherwise, if SKM15 is used, the key will stay the same. More about the way this method works in Remarks. This method is accessed by https://api.cryptolens.io/api/key/ExtendLicense

Parameters

Results

Example results

Remarks

This method works as follows: if the expiration date of a license key has not passed, it will add the provided number of days to the expiration date. Otherwise it will add the provided number of days to the current date (i.e. today). A negative number of days will decrease the expiration date. Let’s assume we extend a license with 365 days. This method will ensure that the license will be valid in 365 days from the current day (or more if the license had some additional days left). For example,
  • If a key that has expired is extended, it will be valid for 365 days from the current date.
  • If a key that has not expired is extended, let’s say it has 20 days left, then it will be valid for 365+20 days.

Errors