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 ClassClass constructor

Activate Method

Activates the Guardant DL software license on the user's computer

Update Method

Software license update 
CreateUpdateRequest MethodSend a request to update the license server (for Offline activation)

CreateActivationRequest Method

Prepare an activation request (for Offline activation)

SendActivationRequest Method

Prepare an activation request to send to the activation server (for Offline activation)

SendUpdateRequest Method

Prepare a license update request (for Offline activation)
CheckSerialNumberFormat MethodCheck the correctness of the entered license serial number
CheckUpdatelsAvailable MethodChecks for the software license updates
ChecklsNotBanned MethodCheck serial number status
Remove MethodRemoves the software license
InstallLicense MethodInstall a license using a previously received response from the server (for Offline activation)
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