Licence Protector

SetSubGraceDays

Hide Navigation Pane

SetSubGraceDays

Previous topic Next topic No directory for this topic  

SetSubGraceDays

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

 

Set the grace period - details see CheckModuleSubscription. You can also set the grace period in the project template using <SubGraceDays>

 

 

Name

SetSubGraceDays                                                        

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID – identifies the module to be tested

Days

Integer

5

set grace period in days

Returncode

Returncode

Type String

Note

Integer

0 = command was successful

Other values see list of return codes

Usage

E.g. implement a good and bad value anti-cracker strategy

Sample

 

 lic.SetSubGraceDays (‘D1001’,5);

 

  ...

See also

CheckModuleSubscription, Getval - Token SGD, SGP, GetRemainingSubGraceDays