|
|
|
Integrating with Hydra
One of the goals behind the design of Hydra is:
|
simplicity of integration for software developers.
|
The Hydra API provides several high-level services to a developer.
But to profit from the Hydra API, only 3 simple functions need to be invoked:
|
byssus_init
|
Call it only once to initialise the Hydra API.
|
|
byssus_load_licences
|
Call it only once to find purchased licences on the local hard drive and load them in RAM, or if unsuccessful, to retrieve a trial licence from the Internet.
|
|
byssus_check_licensed
|
Call it from anywhere and as many times as you need in your application to verify the application is licensed and can continue its execution.
|
Byssus Hydra also uniquely includes a non-deterministic licence
verification mechanism based on probabilities.
When the developer wishes it, the runtime verifications of licences
can also be performed in a non-deterministic way, by simply passing
a percentage parameter to function byssus_check_licensed.
That percentage
represents the desired probability of licences being actually verified
per invocation. Developers have full control. This way, licences are
never verified at the same place in the applications, and they are
never verified after the same amount of time.
To know more about the Hydra API and to see more sample source programs, please refer to the Hydra API Developer's Guide & Reference Manual.
|
|