Class FeatureKeyInfo
Base class for feature key information for licence providers that support features.
Namespace: Sartorius.SAF.Licensing
Assembly: Sartorius.SAF.Licensing.dll
Syntax
[Serializable]
public class FeatureKeyInfo : KeyInfo
Constructors
View SourceFeatureKeyInfo(String)
Create and initialize a new instance of the KeyInfo class.
Declaration
public FeatureKeyInfo(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key value. |
Properties
View SourceDays
Gets the count of days the key provides for a subscription or demo. If this is null
the value is not defined.
Declaration
public int? Days { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Expiration
Gets or sets the license feature expiration date. If this is null
the value is not defined.
Declaration
public DateTime? Expiration { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Remarks
The underlying implementation of the ILicenseProvider should set System.DateTime.Kind to specify the System.DateTimeKind.
FeatureId
Gets the id of the license feature.
Declaration
public string FeatureId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
HardwareId
Gets the license hardware id.
Declaration
public string HardwareId { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
IsDemo
Gets a value indicating whether the key sets the demo state. If this is null
the key does not change the demo state of the feature.
Declaration
public bool? IsDemo { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
LicenseCount
Gets the count of licenses for the feature. If this is null
the value is not defined.
Declaration
public int? LicenseCount { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |