Skip to content

License.LicenseExpiry ​

Returns the expiry date of this Statelake license.

Declaration: property LicenseExpiry: TDateTime

An example of the use.

pascal
procedure OnMapEvent(var Value:Variant);
begin
 //The expiry date of the license
  Value := License.LicenseExpiry;
end;

Or you can try this stand-alone code in a custom script.

pascal
procedure ScriptEvent(var Value:Variant);
var
  WhatDate : TDateTime;
begin
  WhatDate := License.LicenseExpiry;
  LogInfo('The License expiry date is ' +FormatDateTime('dd/mm/yyyy', WhatDate));
  LogInfo('');
end;