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 | |
Allows you to write data to the dynamic memory area of the key. | |
Gets information about the Feature that is logged in using the GrdFeatureLogin() method. | |
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 | |
Encrypts the data buffer using the AES128 cryptographic algorithm associated with the Feature | |
LicenseActivator Class | Class constructor |
Activates the Guardant DL software license on the user's computer | |
Software license update | |
CreateUpdateRequest Method | Send a request to update the license server (for Offline activation) |
Prepare an activation request (for Offline activation) | |
Prepare an activation request to send to the activation server (for Offline activation) | |
Prepare a license update request (for Offline activation) | |
CheckSerialNumberFormat Method | Check the correctness of the entered license serial number |
CheckUpdatelsAvailable Method | Checks for the software license updates |
ChecklsNotBanned Method | Check serial number status |
Remove Method | Removes the software license |
InstallLicense Method | Install a license using a previously received response from the server (for Offline activation) |
visibility | To store license access parameters |
NetServer Class | Stores settings for a license server searching on the network |
VendorCodes Class | Accepts access code values |
CustomerInfo Class | Stores customer information |