isc_license_check()
Go Up to API Function Reference
Checks whether the supplied ID/key pair is valid.
Syntax
int isc_license_check(char *cert_id, char *cert_key)
| Parameter | Type | Description |
|---|---|---|
|
<cert_id> |
char * |
Pointer to a |
|
<cert_key> |
char * |
Pointer to a |
Description
Checks whether the specified ID/key pair is valid and could be added to ib_license.dat. Calling this function does not actually add anything to the file.
Return value
isc_license_check() returns isc_license_success if it determines that the authorization code could be added. If it returns an error, pass the return value to isc_license_get_msg() to obtain the exact error message. The possible return values are:
| Return | Description |
|---|---|
|
|
Authorization code could be successfully added. |
|
|
The authorization code was not added to the license file because it is a duplicate of one already present in the file. |
|
|
The ID/key combination is invalid. |