Decrypts an activation code (compatible with
pp_tcode). Note this does not process the trigger code or modify the license file in any way.
Namespace: com.softwarekey.Client.Compatibility.ProtectionPLUS4Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic static int TCode(
int activationCode1,
int userCode1,
int userCode2,
int seed
)
Public Shared Function TCode (
activationCode1 As Integer,
userCode1 As Integer,
userCode2 As Integer,
seed As Integer
) As Integer
public:
static int TCode(
int activationCode1,
int userCode1,
int userCode2,
int seed
)
Parameters
- activationCode1
- Type: SystemInt32
Activation Code 1 (RegKey 1) - userCode1
- Type: SystemInt32
User Code 1 (Session Code/Code Entry Number) - userCode2
- Type: SystemInt32
User Code 2 (Computer ID) - seed
- Type: SystemInt32
Trigger Code Seed
Return Value
Type:
Int32Returns the Trigger Code number, or 0 if the Trigger Code number could not be determined.
Remarks Note |
---|
If the return value is zero, then the Trigger Code is considered invalid. This can be caused for several reasons, including, but not limited to: - The user mistyped one of the values.
- The Trigger Code Seed used in the application does not match the seed used when generating the trigger code. Check the Product Option configuration in SOLO Server or the Product Definition settings in LFEdit to verify if this is the issue.
- The session code (User Code 1) is now different from the one used when generating the Trigger Code.
|
See Also