Click or drag to resize

IApplicationLicense Interface

Interface for the applications license utilized by the VaultApplicationBase. The actual content class shall be stored in member and accessed via Content(). Clone shall return a duplicate that can be used to load/check new license content.

Namespace:  MFiles.VAF
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public interface IApplicationLicense : ICloneable

The IApplicationLicense type exposes the following members.

Properties
  NameDescription
Public propertyHasContent
Whether the content is constructed.
Public propertyLicenseIsOptional
True to operate (to some extent) without a license. False to always require a license.
Public propertyLicenseStatus
Get the License Status enumeration value.
Public propertyServerLicense
The current server license, used for reference.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodContentX
Access the license content class.
Public methodEvaluate
Method used to (re)evaluate the license. After Evaluate() the license should have content, if no errors had occured. Note that the Load() will also calls Evaluate(). This method may get called multiple times. Vault instance may not be always available and can be given as null.
Public methodLoad
Load in and evaluate the license content.
Public methodToString
Get the details text status of the license.
Top
See Also