UsageConstraint Members
The UsageConstraint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UsageConstraint()()()() |
This is the constructor for the UsageConstraint. The constructor
is used to create the object with a valid license to attach it to.
|
|
UsageConstraint(LicenseFile) |
This is the constructor for the UsageConstraint. The constructor
is used to create the object and assign it to the proper license.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Destroys this instance of the Constraint.
(Inherited from AbstractConstraint.) |
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FromXml(XmlNode) |
This creates a UsageConstriant from an XmlNode.
|
|
FromXml(String) |
This is responsible for parsing a String
to form the BetaConstriant.
(Inherited from AbstractConstraint.) |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IntFromXML | (Inherited from AbstractConstraint.) | |
MemberwiseClone | (Inherited from Object.) | |
Saved |
Resets the is dirty flag to know this item has been saved.
(Inherited from AbstractLicenseData.) |
|
StringFromXML | (Inherited from AbstractConstraint.) | |
ToString |
Provides detailed information about the constrain as a text
(Inherited from AbstractConstraint.) |
|
ToXmlString |
Converts this instance of License Data to a
String representing the XML
of the specific License Data object.
(Inherited from AbstractConstraint.) |
|
Validate |
This verifies the license meets its desired validation criteria. This includes validating that the license has not been used more times then the usage constraint allows. The usage constraints available are: Hit Count - The maximum number of hits for a web services.Usage Count - The maximum number of uses for an application.Duration - The maximum number of days this may be used. If any of these values are exceeded then the license validation will return false and the failure reason will be set. |
Properties
Name | Description | |
---|---|---|
ConstraintType |
Gets the name (based on type) of the constraint.
(Inherited from AbstractConstraint.) |
|
CurrentDays |
Gets the current days count for this UsageConstraint.
|
|
CurrentHitCount |
Gets the current hit count for this UsageConstraint.
|
|
CurrentUsageCount |
Gets the current usage count for this UsageConstraint.
|
|
Description |
Gets or Sets the description of this constraint.
(Inherited from AbstractConstraint.) |
|
GUID |
Gets or Sets the runtime of the program in hours.
(Inherited from AbstractConstraint.) |
|
Icon |
Gets or Sets the icon for this constraint.
(Inherited from AbstractConstraint.) |
|
IsDirty |
Gets if this object has changed since the last save.
(Inherited from AbstractLicenseData.) |
|
License |
Gets or Sets LicenseFile this constraint belongs to.
(Inherited from AbstractConstraint.) |
|
MaxDays |
Gets or Sets the maximum number of days allowed for this UsageConstraint.
|
|
MaxHitCount |
Gets or Sets the maximum allowed hits for this UsageConstraint.
|
|
MaxUsageCount |
Gets or Sets the maximum allowed uses for this UsageConstraint.
|
|
Name |
Gets or Sets the name of this constraint.
(Inherited from AbstractConstraint.) |
|
RunTimeConstrain |
Gets or Sets the runtime of the program in hours.
(Inherited from AbstractConstraint.) |
|
VolumeConstrain |
Gets or Sets the number of items licensed program can instantiate, e.g. number of process variables, number of interfaces, etc.
(Inherited from AbstractConstraint.) |
|
Warning |
Gets or sets the warning provided during evaluwation of relevant constrains.
(Inherited from AbstractConstraint.) |