Show / Hide Table of Contents

Class FeatureKeyInfo

Base class for feature key information for licence providers that support features.

Inheritance
System.Object
KeyInfo
FeatureKeyInfo
MirageFeatureKeyInfo
KeyInfo.Key
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Licensing
Assembly: Sartorius.SAF.Licensing.dll
Syntax
[Serializable]
public class FeatureKeyInfo : KeyInfo

Constructors

View Source

FeatureKeyInfo(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 Source

Days

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>
View Source

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.

View Source

FeatureId

Gets the id of the license feature.

Declaration
public string FeatureId { get; protected set; }
Property Value
Type Description
System.String
View Source

HardwareId

Gets the license hardware id.

Declaration
public string HardwareId { get; protected set; }
Property Value
Type Description
System.String
View Source

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>
View Source

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>

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)

See Also

KeyInfo
  • View Source
Back to top Generated by DocFX