General-purpose Guardant API functions
General-purpose functions allow implementing service operations related to initialization, setup and deinitialization of Guardant API as well as performing the main operations with dongles:
- Search for a dongle meeting specified search criteria
- Initialize the dongle memory
- Read data from dongle memory
- Write data into dongle memory
- Set read/write locks on dongle memory
- Encrypt information using dongle hardware algorithms
List of general-purpose Guardant API functions:
| Name of function | Access code | Short description |
|---|---|---|
| GrdStartup | None | Initialize Guardant API |
| GrdStartupEx | None | Initialize a Guardant API copy with indicating path to GnClient.ini |
| GrdCleanup | None | Deinitializes Guardant API |
| GrdDllMain | None | Initializes network functions to be used in DLL |
| GrdGetLastError | None | Retrieves information on the last error from the secured container |
| GrdFormatMessage | None | Converts the error code into a text message |
| GrdGetInfo | None | Retrieves information from the secured container |
| GrdIsValidHandle | None | Checks validity of the secured container handle |
| GrdCreateHandle | None | Creates the secured container handle |
| GrdCloseHandle | None | Closes the secured container handle |
| GrdSetAccessCodes | Public and Read required, others - on demand | Places access codes into the secured container |
| GrdSetWorkMode | ||
| GrdSetFindMode | ||
| GrdFind | ||
| GrdLogin | ||
| GrdLogout | ||
| GrdLock | ||
| GrdUnlock | ||
| GrdCheck | ||
| GrdDecGP | ||
| GrdRead | ||