Click or drag to resize
ManualActivationKey Class
Class that will generate and decrypt an activation key. The payload is the Trigger Code and the TCFixed value. Part of the IV is random and included with the activation key. This allows the key to change each time it is generated.
Inheritance Hierarchy

Namespace: com.softwarekey.Client.Compatibility.ProtectionPLUS4
Assembly: PLUSManaged (in PLUSManaged.dll) Version:
public class ManualActivationKey : IDisposable

The ManualActivationKey type exposes the following members.

Public methodManualActivationKey(String, Int32, Int32)
Constructor when decrypting the Activation Key
Public methodManualActivationKey(String, Int32, Int32, String)
Constructor when decrypting the Activation Key
Public propertyActivationKey
The activation key
Public propertyActivationKeyFormatted
Generate a key with dashes
Public propertyAesKey
256-bit AES Key created from the Trigger Code Seed value
Public propertyIV
The Initialization Vector
Public propertyRandomIVSection
The random portion of the IV that is also included with the activation code
Public propertyTCFixedValue
The TCFixed value
Public propertyTriggerCode
The Trigger Code value
Public propertyTriggerCodeSeed
The Trigger Code Seed value
Public propertyUsableCharacters
The allowed characters in the activation code
Public propertyUserCode1
The UserCode1 value
Public methodDecryptActivationKey
Decrypts an activation key and returns the trigger code and fixed value
Public methodDispose
Clears cryptographic data from memory - the object is not usable after calling this method!
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
See Also