Licensing Application Block

Currently in development. Check back soon, or keep an eye on my blog.
 
The default implementation of this makes heavy use of signed XML files. Not only are the licenses such files, but the licensing policy is contained in a signed fragment of the App.config file.
 

Policy Options

License Type

The type of license object that will be created.

Validation

Contains a set of variables that are hashed and stored in the license file. This hash is compared against one created from this option in order to validate that the license is valid for the machine.

Grace

Contains options for how long the license will be accepted after it has expired and before it is activated.

Key

Contains the public key that is used to check the license and policy signatures.

Submission Options

Fields

The fields that are sent (in addition to the machine hash) to the submission destination for a license request/activation. Includes default information (based on autogenerated variables), and validation information (based on regular expressions and a mandatory flag).

Types

Contains the types of license that the user can request.

Destinations

The destinations to which the license request/activation can be sent.