Windows
For .NET Framework 4 applications, it is necessary to use the grdlic.dotnet.dll library from the directory: %ProgramFiles(x86)%\Guardant\Software Licensing Kit\api\lib\windows\dotnet\
For .NET Core 2.0 and above / Standard 2.0 and above / .NET 5.0 and above, it is necessary to use the grdlic.dotnet.core.dll library from the directory: %ProgramFiles(x86)%\Guardant\Software Licensing Kit\api\wrappers\dotnet\
For software products licensing and protection, special classes and methods are implemented in the Guardant Licensing API.
| Name of class or method | Short Description |
| GrdlicApi Class | Class constructor |
| Activates the LED blinking of the hardware key with the specified ID. | |
| Gets information about all available licenses according to the specified search parameters. | |
| Returns the Licensing API version number | |
| GrdSetDriverType Method | Switches the hardware key driver type |
| GrdFree Method | Sets free memory resources used by other functions. |
| Checks the digital signature of data using the ECC160 cryptographic algorithm | |
| Feature Class | Class constructor |
| Returns the original value of network licenses for a Feature. | |
| Returns the remaining runtime of a Feature. | |
| Returns the current value of the launch counter for a Feature. | |
| Returns the current time value of using the Feature. | |
| Logs into the given Feature to create a session according to the predefined search parameters. | |
| Calculates a digital signature of data using the ECC160 cryptographic algorithm associated with the Feature. | |
| Closes the session handle | |
| Для записи данных в динамическую область памяти ключа | |
| Для получения информации о компоненте на который выполнен логин методом Login | |
| Decrypts the data buffer using the AES128 cryptographic algorithm associated with the Feature | |
| Allows you to read data from the dynamic memory area of the key that was previously recorded by the application developer | |
| Для шифрования буфера данных при помощи криптографического алгоритма AES128, ассоциированного с компонентом (Feature) | |
| Класс LicenseActivator | Конструктор класса |
| Для активации программной лицензии на компьютере пользователя | |
| Для обновления программной лицензии | |
| Метод CreateUpdateRequest | Для отправки запроса на обновление сервера лицензий (для Offline активации) |
| Для подготовки запроса активации для отправки (для Offline активации) | |
| Для подготовки запроса активации для отправки на сервер активации (для Offline активации) | |
| Для подготовки запроса на обновление лицензии (для Offline активации) | |
| Метод CheckSerialNumberFormat | Для проверки корректности ввода серийного номера лицензии |
| Метод CheckUpdatelsAvailable | Для проверки наличия обновлений для программной лицензии |
| Метод ChecklsNotBanned | Для проверки состояния серийного номера |
| Метод Remove | Для удаления программной лицензии |
| Метод InstallLicense | Для установки лицензии с использованием заранее полученного от сервера ответа (для Offline активации) |
| visibility | Для хранения параметров доступа к лицензии |
| Класс NetServe | Для хранения настроек для поиска сервера лицензий в сети |
| Класс VendorCodes | Для приёма значения кодов доступа |
| Класс CustomerInfo | Для хранения информации о покупателе |