|
||
Each module can be from type concurrent user.
You can use a concurrent user module exactly the same way as using a (named) user module:
•Prepare() at program start (e.g. PrepareAndCheck (set quit=false), PrepareAdvanced, Prepare)
•Use one or more Validate() commands during the execution of the application to get an updated status of the license. The heartbeat check does not return an error code and therefore an additional Validate() is necessary
•Quit() at the end of the program
You must keep the Licence Protector instance in order to work with concurrent user. Quit may be used only at the end of the application. It removes all users from all modules. If you want to terminate all users of a single module, use the command StopConcurrentUsage.
If you use multiple modules with concurrent user, see special considerations regarding the frequency of testing.