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

VersionConstraint Class

This [VersionConstraint] constrains the user to only use the license with a given range of versions attached to an Assembly. For example if an assembly version is 0.95.0.0 and the version range is 0.94.0.0 to 0.96.0.0 then the license will pass. However if the assembly is then upgrade to version 1.0.0.0 then the license will expire.

Namespace:  CAS.Lib.CodeProtect.LicenseDsc.Constraints
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


public class VersionConstraint : AbstractConstraint
Public Class VersionConstraint _
	Inherits AbstractConstraint
public ref class VersionConstraint : public AbstractConstraint

Inheritance Hierarchy


Object
  CAS.Lib.CodeProtect.LicenseDsc..::..AbstractLicenseData
    CAS.Lib.CodeProtect.LicenseDsc..::..AbstractConstraint
      CAS.Lib.CodeProtect.LicenseDsc.Constraints..::..VersionConstraint