DeployLX Software Protection System

UseLimit Members

The UseLimit type exposes the following members.

Constructors

Public methodUseLimit

Initializes a new instance of the UseLimit class.

Methods

Protected methodAssertFeatureVersion

Asserts the feature version.

Inherited from Limit.
Protected methodAssertMinimumVersion

Asserts the license file version is at least the given version.

Inherited from Limit.
Protected methodAssertNotReadOnly

Asserts that the Limit is not read only. Use before setting the value of a property.

Inherited from Limit.
Protected methodCheckLimitReached

Called during validation to check if the current value has reached the ExtendableValue.

Overrides ExtendableLimit..::..CheckLimitReached(Int32).
Public methodCompareTo

Compares the Limit with another Limit.

Inherited from Limit.
Protected methodCreatePanel

Called to create a SuperFormPanel capable of showing the page with the given id.

Inherited from ExtendableLimit.
Public methodDispose

Overloaded. Releases any managed or unmanaged resources used by the limit.

Public methodEquals Inherited from Object.
Public methodExtendAtServer

Extends the license by contacting one of the Servers in order until a connection is made.

Inherited from ExtendableLimit.
Public methodExtendAtServerAsync

Calls ExtendAtServer(SecureLicenseContext, Boolean) on a new thread.

Inherited from ExtendableLimit.
Public methodExtendByCode

Extends the limit from the given code.

Inherited from ExtendableLimit.
Protected methodExtendWithRequestExtensionCodes

Attempts to extend the limit using values passed via the ExtensionCodes array.

Inherited from ExtendableLimit.
Protected methodFinalize

Releases any resources during garbage collection.

Inherited from Limit.
Protected methodGetCurrentValue

Gets the current value which must be between MinExtendableValue and ExtendableValue.

Overrides ExtendableLimit..::..GetCurrentValue()()()().
Public methodGetHashCode Inherited from Object.
Protected methodGetLimitName

Gets the name of the limit for serialization to XML. The default is the name of the type minus any trailing "Limit" identifier.

Inherited from Limit.
Public methodGetNameAndSummary

Gets the name and summary description of the limit for display.

Inherited from Limit.
Public methodGetOrdinal

Gets the ordinal of the Limit in the SecureLicense.

Inherited from Limit.
Protected methodGetPersistentData

Overloaded. Helper for getting data persisted between sessions.

Public methodGetType Inherited from Object.
Public methodGetUseDescription

Gets a description of the amount remaining on the limit such as the number of uses, or the amount of time left.

Overrides ExtendableLimit..::..GetUseDescription(SecureLicenseContext).
Public methodGetUseMonitor

Gets the UseMonitor for watching the use limit's expiration.

Public methodGetUseRange

Gets a numeric range indicating the amount of time/uses remaining before the license expires.

Inherited from ExtendableLimit.
Public methodGranted

Called every time the SecureLicense is granted. Used to enforce limits that must be checked each time the license is validated.

Overrides Limit..::..Granted(SecureLicenseContext).
Public methodInitializeFromSerialNumber

Initializes the IExtendableLimit from the SecureLicense's serial number when the license is first registered.

Inherited from ExtendableLimit.
Protected methodMakeReadOnly

Marks the object as read only. Further attempts to modify the protected properties of the object should result in an exception. Objects protected by a parent's read-only status may ignore this call.

Inherited from SuperFormLimit.
Protected methodMemberwiseClone Inherited from Object.
Protected methodOnChanged

Overloaded. Called when a property changes.

Protected methodOnCollectionChanged

Called when an item in a collection changes

Inherited from Limit.
Protected methodOnLicenseAssigned

Called when [license assigned].

Inherited from Limit.
Public methodPeek

Allows a limit to communicate it's status without interacting with the user. Used with child limits to pick limits that are valid before attempting to interact with the user.

Overrides Limit..::..Peek(SecureLicenseContext).
Protected methodReadChildLimit

Reads a child Limit from the XML reader.

Inherited from Limit.
Protected methodReadChildLimits

Reads the child limits when the limit does not contain any child XML itself.

Inherited from Limit.
Protected methodReadFromXml

Reads the limit properties from the XML reader.

Overrides ExtendableLimit..::..ReadFromXml(XmlReader).
Public methodReset

Resets and local machine state for the limit. Only works when called from the ResetLimit.

Overrides ExtendableLimit..::..Reset(SecureLicenseContext, Int32).
Protected methodResolveCloneLinks

Resolves any references between new cloned limits and their original values.

Inherited from Limit.
Protected methodResolveDefaultShouldShowForm Inherited from ExtendableLimit.
Protected methodResolveShouldShowForm

Determines if the limit should show it's form when valiated.

Inherited from SuperFormLimit.
Protected methodSetPersistentData

Overloaded. Helper for setting data persisted between sessions.

Protected methodShowForm

Called to show the form. If a CustomForm is provided it will be used, otherwise creates the default SuperFormPanel for the given page.

Inherited from SuperFormLimit.
Public methodToString

Returns a String that represents the current Object.

Inherited from Limit.
Protected methodTryExtend

Called during valuation to attempt to extend the limit by showing a form to the user.

Inherited from ExtendableLimit.
Public methodUpdateAtServer

Called at the server to increase the ExtendableValue by ExtensionAmount.

Inherited from ExtendableLimit.
Public methodValidate

Validates that the SecureLicense being granted is within the limits enforced by this object.

Overrides Limit..::..Validate(SecureLicenseContext).
Protected methodWriteToXml

Persists the limit to the XML writer.

Overrides ExtendableLimit..::..WriteToXml(XmlWriter, LicenseSaveType).

Properties

Public propertyAllowUseRemove

Gets or sets a value that indicates if the UseMonitor can be instructed to remove a usage from the use count. Used to track changing uses like activate connections that can be removed back to the pool.

Public propertyAutoExtend

Gets or sets a value that indicates if the limit should attempt to automatically request an extension from one of the Servers when the license expires.

Inherited from ExtendableLimit.
Public propertyAutoUseOncePerSession

Gets or sets a value that indicates if AutoUseOnValidate is true the use will only be applied once per application launch.

Public propertyAutoUseOnValidate

Gets or sets a value that indicates if a use is applied each time the license is validated. If false, you must use the UseMonitor to track usage.

Public propertyCanExtend

Gets or sets a value that indicates if the limit can be extended.

Inherited from ExtendableLimit.
Public propertyCanExtendByCode

Gets or sets a value that indicates if the license can be renewed by a code. CanExtend must be true for this property to have any effect.

Inherited from ExtendableLimit.
Public propertyCodeAlgorithm

Gets or sets the algorithm to use for generating and validating extension codes.

Inherited from ExtendableLimit.
Public propertyCodeMask

Gets a mask to use when prompting the user to enter an extension code.

Inherited from ExtendableLimit.
Public propertyCustomForm

Gets or sets the assembly qualified name of a custom class to use when displaying a custom form. See remarks for requirements.

Inherited from SuperFormLimit.
Public propertyCustomForms

Gets or sets the CustomForms value.

Inherited from SuperFormLimit.
Public propertyDescription

Gets the description of the limit.

Overrides Limit..::..Description.
Public propertyDisplayName

Gets the display name of the limit, either it's Nickname or Name.

Inherited from Limit.
Public propertyExtensionAmount

Gets or sets the amount to increase the ExtendableValue when the limit is extended. The actual meaning of this value depends on the limit inherits from ExtendableLimit.

Inherited from ExtendableLimit.
Public propertyFormShown

Gets or sets a value that indicates if the form was shown during validation.

Inherited from SuperFormLimit.
Public propertyHasChildLimits

Gets a value that indicates if the limit contains any child limits.

Inherited from Limit.
Public propertyIsDisposed

Gets a value that indicates if all references to this Limit have been released and the object has been disposed.

Inherited from Limit.
Public propertyIsGui

Gets a value that indicates if the limit (or child limit) will display a form to the user

Inherited from Limit.
Public propertyIsSubscription

Gets or sets a value that indicates if the IExtendableLimit defines the period of a license subscription.

Inherited from ExtendableLimit.
Public propertyLicense

Gets or sets a reference to the SecureLicense that contains this Limit.

Inherited from Limit.
Public propertyLimitId

Gets or sets a unique ID for the limit.

Inherited from Limit.
Public propertyLimits

Gets the collection of child limits.

Inherited from Limit.
Public propertyName

Gets the display name of the limit.

Overrides Limit..::..Name.
Public propertyNameAndSummary

Gets the Name and SummaryText as a formatted string.

Inherited from Limit.
Public propertyNickname

Gets or sets a value to use when displaying the limit in the DeployLX Manager.

Inherited from Limit.
Public propertyParentCollection

Gets the LimitCollection that owns the limit.

Inherited from Limit.
Public propertyPurchaseUrl

Gets the URL where the full version can be purchased or the subscription renewed when IsSubscription is true. When the user clicks Buy Now or clicks the purchase link a new window will be opened to the given address.

Inherited from ExtendableLimit.
Public propertyQualifiedTypeName

Gets a string to be used for loading the custom limit. The default is the fully qualified assembly name of the type.

Inherited from Limit.
Public propertyServerRetries

Gets the number of times that the server should be contacted if it fails.

Inherited from ExtendableLimit.
Public propertyServers

Gets a collection of addresses for the LicenseServer to contact when requesting an extension. When validating the limit will attempt to contact each server in order until a valid connection can be made.

Inherited from ExtendableLimit.
Public propertyState

Gets the current validation state of the limit when the limit supports more than one ValidationStates.

Inherited from Limit.
Public propertySummaryText

Gets a summary description of the properties set on the limit.

Overrides Limit..::..SummaryText.
Public propertyUniqueId

Gets an id that can uniquely identify this limit and license. Useful when the LimitId is repeated across multiple licenses.

Inherited from Limit.
Public propertyUseExtensionForm

Gets or sets a value that indicates if a form will be displayed to allow the user to extend their license once it expires.

Inherited from ExtendableLimit.
Public propertyUseLimitType

Gets or sets type of usage limit to enforce.

Public propertyUses

Gets or sets the number of allowed software uses.

Public propertyValidationStates

Gets the list of named validation states that the limit supports.

Inherited from Limit.

Explicit Interface Implementations

Explicit interface implemetationPrivate methodICloneable..::..Clone

Creates a new object that is a copy of the current instance.

Inherited from Limit.
Explicit interface implemetationPrivate methodIComparable..::..CompareTo Inherited from Limit.
Explicit interface implemetationPrivate methodISerializable..::..GetObjectData Inherited from Limit.
Explicit interface implemetationPrivate methodIXmlPersistable..::..ReadFromXml Inherited from Limit.
Explicit interface implemetationPrivate methodIXmlPersistable..::..WriteToXml Inherited from Limit.
Explicit interface implemetationPrivate eventIChange..::..Changed

Fired when one of the properties of the limit or a child objects changes.

Inherited from Limit.
Explicit interface implemetationPrivate methodIChange..::..MakeReadOnly

Marks the object as read only. Further attempts to modify the protected properties of the object should result in an exception. Objects protected by a parent's read-only status may ignore this call.

Inherited from Limit.
Explicit interface implemetationPrivate propertyIExtendableLimit..::..ExtendableValue

Gets or sets value that represents the maximum value of the limit which can be extended by code or at the server. The actual meaning of this value depends on the limit that implements the IExtendableLimit interface.

Inherited from ExtendableLimit.
Explicit interface implemetationPrivate methodIExtendableLimit..::..GetCurrentValue

Gets the current value which must be between MinExtendableValue and ExtendableValue.

Inherited from ExtendableLimit.
Explicit interface implemetationPrivate propertyIExtendableLimit..::..MaxExtendableValue

Gets the maximum value that ExtendableValue can be extended to.

Inherited from ExtendableLimit.
Explicit interface implemetationPrivate propertyIExtendableLimit..::..MinExtendableValue

Gets the minimum value that ExtendableValue can be.

Inherited from ExtendableLimit.
Explicit interface implemetationPrivate methodISuperFormLimit..::..CreatePanel

Called to create a SuperFormPanel capable of showing the page with the given id.

Inherited from SuperFormLimit.