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

DemoConstraint Methods

The DemoConstraint type exposes the following members.

Methods


  Name Description
Public method Dispose
Destroys this instance of the Constraint.
(Inherited from AbstractConstraint.)
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FromXml(XmlNode)
This creates a DemoConstraint from an XmlNode.
Public method FromXml(String)
This is responsible for parsing a String to form the BetaConstriant.
(Inherited from AbstractConstraint.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method IntFromXML (Inherited from AbstractConstraint.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Saved
Resets the is dirty flag to know this item has been saved.
(Inherited from AbstractLicenseData.)
Protected method StringFromXML (Inherited from AbstractConstraint.)
Public method ToString
Provides detailed information about the constrain as a text
(Inherited from AbstractConstraint.)
Public method ToXmlString
Converts this instance of License Data to a String representing the XML of the specific License Data object.
(Inherited from AbstractConstraint.)
Public method Validate
This verifies the license meets its desired validation criteria. This includes the following if defined: Verify the license is after the start dateVerify the license is before the end dataThe maximum number of days has not been exceeded If any of these is exceeded then the license failure reason is set to the reason for the failure and this function returns false. Otherwise the license is valid and the method returns true.