Interface IQueryLicenses
Provides access to information pertaining to the Activation set of ILicenses for a given Product
See Licenses for examples and details of how to obtain an IQuery
See Product
See For(String) for examples and details of how to obtain an IAgent
Namespace: Sp.Agent.Licensing
Assembly: Sp.Agent.dll
Methods
All()
Returns ALL activated Software Potential service Product Licenses for this Product
NB This INCLUDES POTENTIALLY INVALID licenses and hence should not be used in authorization checks. In general, the .Valid()
sibling is the more appropriate query method to use.
Declaration
IEnumerable<ILicense> All()
Returns
Type | Description |
---|---|
System. |
See Also
DueForRenewalNow()
Returns all activated Software Potential service Product Licenses for this Product
Declaration
IEnumerable<ILicense> DueForRenewalNow()
Returns
Type | Description |
---|---|
System. |
See Also
Valid()
Returns currently valid activated Software Potential service Product Licenses for this Product
Compared to .All
, this filters out licenses that are not presently in-date, are in violation of License Binding or Virtual Execution Environment restrictions or have been tampered.
This list is in sync with the set of licenses considered by the Execution Engine for the execution of Protected Code.
Declaration
IEnumerable<ILicense> Valid()
Returns
Type | Description |
---|---|
System. |