Interface IFeature
Exposes the properties of a Feature included in an Activated License.
Namespace: Sp.Agent.Licensing
Assembly: Sp.Agent.dll
Properties
ConcurrentUsageLimit
The maximum number of concurrent usages, as stipulated for this feature on the License.
Declaration
int ? ConcurrentUsageLimit { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
|
Remarks
Software Potential Agent does not apply any constraints for Local Licenses based on this setting.
See Also
EndDate
Declaration
[Obsolete("This Property has been renamed. Please use ExpirationDate instead (renamed for consistency; no semantic impact)")]
DateTime? EndDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ExpirationDate
The date/time at which this feature completes its normal validity period.
Declaration
DateTime? ExpirationDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The System.DateTimeKind time at which the feature completes it's normal validity period (assuming the underlying License is itself Valid). |
Remarks
This limitation is in addition to the license validity period constraints.
NB it is not recommended to use this property in attempting to determine whether a Licensed Feature is Valid (either at the current time or based on an effective date). Such computations should instead be carried out using the IQueryLocalFeatures Apis.
See Also
TotalUsageLimit
The maximum number of usages, as stipulated for this feature on the License.
Declaration
int ? TotalUsageLimit { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
|
Remarks
Software Potential Agent does not apply any constraints based on this setting.
See Also
ValidUntil
The date/time until which the Feature is operable, which may be constrained by the ExpirationDate (and extended by the Feature's Grace Period).
Declaration
DateTime ValidUntil { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The System.DateTimeKind.Local Date at which the Feature will become Expired due to the ExpirationDate stipulation. |
Remarks
The System.DateTimeKind is System.DateTimeKind.Local.