Description

Gets information about all available licenses according to the specified search parameters. To save the data about available licenses, the function allocates memory. To free the allocated memory, call the GrdFree() function.

Syntax

int GRD_API GrdGetLicenseInfo(const char* visibilityJson,
							  const GrdVendorCodes* codes, 
							  char** licenseInfoJsonArray);

Parameters

visibilityJson [optional]
JSON search parameters defining the scope of the license search, see the visibility structure description for details
codes [optional]

Access codes assigned via the GrdVendorCodes structure

licenseInfoJsonArray
Pointer to the returned list of license information in JSON format

Return values

GRD_OK

GRD_FEATURE_NOT_FOUND

GRD_INVALID_PARAMETER

  • No labels