Name |
RemainingDays |
||||||||
Purpose |
Gets the remaining days to the date when the module expires. |
||||||||
Params |
|
||||||||
Returncode |
|
||||||||
Usage |
E.g. to show the user when a part of your software isn’t usable any more. |
||||||||
Sample |
iRes := lic.Validate(‘D1003’, ‘’, false); if ((iRes = 0) or (iRes = 1)) then begin iDays := lic.RemainingDays (‘D1003’); if iDays = -1 then begin << module never expires >> ... end else begin << module expires in iDays >> ... end end else begin << an error occurred, perhaps the module already has expires >> ... |
||||||||
See also |