Click or drag to resize
PLUS4MethodsTCode Method
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.ProtectionPLUS4
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.17.4.0
Syntax
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: Int32
Returns the Trigger Code number, or 0 if the Trigger Code number could not be determined.
Remarks
Note 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