CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

CAS.Lib.CodeProtect.LicenseDsc Namespace

Classes


  Class Description
Public class AbstractConstraint

AbstractConstraint is an abstract class which all licensing constraints are built from. The AbstractConstraint defines the necessary items for a Constraint to be used by the CodeProtectLP. The provider then uses the constraints Validate function to enforce the Constraint.

Public class AbstractContainerConstraint

This AbstractContainerConstraint is used to define a container for other constraints. This is used to provide a method to create grouping of constraints to provide bitwise operations.

Public class AbstractLicenseData

AbstractLicenseData is an abstract class which all licensing data, other then Constraints) must inherit. The AbstractLicenseData defines the necessary items for any license data to be used by the LicenseFile.

Public class AbstractUpgradeableData<(Of <(<'Type>)>)>
Instantiated objects derived from this classes represent upgradeable data.
Public class CustomData
The CustomData object inherits from the AbstractLicenseData. The CustomData is used by developers to store unique custom data using a Key/Value pairing in a StringDictionary.
Public class Issuer
The Issuer object inherits from the AbstractLicenseData. The Issuer is used as the person who released the license. The issue contains the person's name, email address and URL.
Public class LicenseFile
This is the .LIC file object. This file contains all the fields a developer should need to create a license of their choice. It supports many standard fields and has the ability to store custom key/value pairs. This file also contains a Constraints List (System.Collections.Generic.List) which is responsible for determine the validity of this license. The constraints are used to determine if the license may be used.
Public class LicenseFileException
Represents errors that occur during application execution.
Public class Product
The Product is the information about the assembly this license is used for. It contains values for the Assembly, name, version, etc... The Product object inherits from the AbstractLicenseData.
Public class Statistics
The Statistics object inherits from the AbstractLicenseData. The Statistics is the information about usage of the license for general information purposes*.
Public class User
The User object inherits from the AbstractLicenseData. The User is the information about the owner of the license. It contains the name, email and organization of the individual or company who purchased the license.

Interfaces


  Interface Description
Public interface IConstraint

IConstraint is an interface class which all Constraints must inherit. The IConstraint defines the necessary items for a Constraint to be used by the OpenLicenseProvider. The provider then uses the Constraint's Validate( ) function to enforce the Constraint.

Public interface IConstraintItemProvider
Iterface that allows accessing the items inside constraint
Public interface ILicenseData

ILicenseData is an interface class which all licensing data, other then Constraints) must inherit. The ILicenseData defines the necessary items for any license data to be used by the LicenseFile.