You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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 methodShort Description
GrdlicApi ClassClass constructor

GrdLedBlink Method

Activates the LED blinking of the hardware key with the specified ID.

GetLicenseInfo Method

Gets information about all available licenses according to the specified search parameters.

GrdGetApiVersion Method

Returns the Licensing API version number
GrdSetDriverType MethodSwitches the hardware key driver type
GrdFree MethodSets free memory resources used by other functions.

GrdVerifyDigest Method

Checks the digital signature of data using the ECC160 cryptographic algorithm
Feature ClassClass constructor

GetMaxConcurrentResource Method

Returns the original value of network licenses for a Feature.

GetTimeLimit Method

Returns the remaining runtime of a Feature.

GetRunCounter Method

Returns the current value of the launch counter for a Feature.

GetRealTime Method

Returns the current time value of using the Feature.

Login Method

Logs into the given Feature to create a session according to the predefined search parameters.

Sign Method

Calculates a digital signature of data using the ECC160 cryptographic algorithm associated with the Feature.

Logout Method

Closes the session handle

MemoryWrite Method

Allows you to write data to the dynamic memory area of ​​the key.

GetInfo Method

Gets information about the Feature that is logged in using the GrdFeatureLogin() method.

Decrypt Method

Decrypts the data buffer using the AES128 cryptographic algorithm associated with the Feature

MemoryRead Method

Allows you to read data from the dynamic memory area of ​​the key that was previously recorded by the application developer

Encrypt Method

Encrypts the data buffer using the AES128 cryptographic algorithm associated with the Feature
Класс LicenseActivatorКонструктор класса

Метод Activate

Для активации программной лицензии на компьютере пользователя

Метод Update

Для обновления программной лицензии
Метод CreateUpdateRequestДля отправки запроса на обновление сервера лицензий (для Offline активации)

Метод CreateActivationRequest

Для подготовки запроса активации для отправки (для Offline активации)

Метод SendActivationRequest

Для подготовки запроса активации для отправки на сервер активации (для Offline активации)

Метод SendUpdateRequest

Для подготовки запроса на обновление лицензии (для Offline активации)
Метод CheckSerialNumberFormatДля проверки корректности ввода серийного номера лицензии
Метод CheckUpdatelsAvailableДля проверки наличия обновлений для программной лицензии
Метод ChecklsNotBannedДля проверки состояния серийного номера
Метод RemoveДля удаления программной лицензии
Метод InstallLicenseДля установки лицензии с использованием заранее полученного от сервера ответа (для Offline активации)
visibilityTo store license access parameters
NetServer ClassStores settings for a license server searching on the network
VendorCodes ClassAccepts access code values
CustomerInfo ClassStores customer information
  • No labels