GetCode.asp
Purpose:
Gets Protection PLUS activation code for a given license.
HTTP Method:
GET
URL:
secure.softwarekey.com/solo/unlock/getcode.asp
Automation Client Functions:
SK_GetTCData, SK_GetTCDataEx, SK_GetTCDataDlg, SK_ProcEZTrig1
Function Input Variables:
- LicenseID: License ID for activation attempt
- CustomerPW: Password associated to the LicenseID. This can be either the customer password or the license activation password.
- code1 : Session ID, UserCode1, or cenum
- code2 : Computer ID, UserCode2, or compno
Optional Input Variables:
- ProdID: Product ID to verify against License ID
- ProdOptionID: Product Option ID to verify against License ID
- ProductVersion: Product version in the format NNN.NNN.NNN.NNN. Refer to Product Option Field Minimum Activation Version for more information.
HTML Return Strings:
- Registration code1 = : Protection PLUS Reg Key 1
- Registration code2 = : Protection PLUS Reg Key 2
- License Update = : License Update field associated with License
- Error Response =
- No More Keys available! : returned when Activations Left=0
Remarks:
This page can be used with the Automation Client functions listed above, and Instant Protection PLUS 3.
Errors:
- 100: If the LicenseID and CustomerPW are blank or the combination could not be found in the database.
- 101: If the Product Option Type associated with LicenseID is not valid.
- 103: If the code2 is entered as a value of 0.
- 200: If the ProdID is passed in and the value passed in is not associated to the LicenseID passed in.
Notes:
To add additional optional input variables, the Password function parameter should have these values appended. For example:
- Password = "userpassword&ProdID=1234"