Class LicenseInfo
Provides public information about the product license.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Security.Licensing
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class LicenseInfo
Constructors
LicenseInfo()
Initializes an empty instance.
Declaration
public LicenseInfo()
Properties
Description
Gets the description of the license type and features.
Declaration
[DataMember]
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Expiration
Gets the license expiration date. If not set then license is perpetual.
Declaration
[DataMember]
public DateTime? Expiration { get; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Features
Gets the product premium features that license enables.
Declaration
[DataMember]
public LicenseFeatures Features { get; }
Property Value
| Type | Description |
|---|---|
| LicenseFeatures |
Type
Gets the product license type: evaluation, development, non-production, and production.
Declaration
[DataMember]
[SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")]
public LicenseType Type { get; }
Property Value
| Type | Description |
|---|---|
| LicenseType |