Adding Server Functionality
From InterBase
Go Up to Using the License API
There are five functions available for manipulating authorization codes in ib_license.dll
:
See the API Function Reference for a detailed reference for each function.
isc_license_add()
adds a line toib_license.dat
. Use only authorization codes that you have been given expressly as deployment codes from InterBase.isc_license_check()
checks to see whether an authorization code could be added toib_license.dat
. This function performs all the same tasks asisc_license_add()
, without actually modifyingib_license.dat
.isc_license_remove()
removes a line fromib_license.dat
.isc_license_display()
displays the authorization codes that are currently inib_license.dat
.isc_license_get_msg()
returns the text of error messages that correspond to error codes returned by the other four licensing functions.
isc_license_add()
can throw the following errors:
Return | Description |
---|---|
|
Authorization code was successfully added |
|
The authorization code could not be written |
|
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 |