releaseLicense function

The releaseLicense function will release the current license on the machine.  This does not apply to demo licenses.  If called for a checked-out license, the license will not be released on the server until midnight server time.

Usage: releaseLicense -p product-code [-v version] [-a]

-p product-code   code for the license required
-v version        software version for validation
-a                auto-renew license on next validation.

(Note that the above command line is a set of arguments that must be passed to the LicenseCommand class as explained in the parent document.) 


This will display a single line on the command line showing the response from the server.  If the license was released successfully then it will display

Response:License has been released

If some error occurred then it will display that -- for example:

Response: Not allowed to release license