LicenseSpring .Net SDK 7.22.0
Easily add Software Licensing to your application
LicenseSpring.ILicenseFeature Interface Reference

LicenseFeature interface More...

Inheritance diagram for LicenseSpring.ILicenseFeature:
LicenseSpring.LicenseFeature

Public Member Functions

bool IsExpired ()
 Is license feature expired More...
 
string ToString ()
 Override Object.ToString More...
 

Properties

bool AllowOverages [get]
 Indicates whether overage is allowed for Consumption feature. More...
 
bool AllowUnlimitedConsumptions [get]
 Indicates whether unlimited consumptions is allowed for Consumption feature. More...
 
string Code [get]
 Feature code More...
 
ConsumptionPeriod ConsumptionPeriod [get]
 Period of time after which consumption is reset. More...
 
System.DateTime ExpiryDate [get]
 It's final end date and time license feature is valid. More...
 
System.DateTime ExpiryDateUtc [get]
 It's final end date and time license feature is valid. More...
 
LicenseFeature.Type FeatureType [get]
 Feature type More...
 
int LocalConsumption [get]
 Local consumption of the feature, this is the amount which has not been synced yet. More...
 
int MaxConsumption [get]
 Maximum consumption of the feature. More...
 
int MaxOverages [get]
 Maximum overage allowed for the license feature. More...
 
string Metadata [get]
 Feature metadata More...
 
string Name [get]
 Feature name More...
 
bool ResetConsumption [get]
 Indicates whether consumption resets after a certain period of time. More...
 
int TotalConsumption [get]
 Total consumption of the feature, it includes LocalConsumption. More...
 

Detailed Description

LicenseFeature interface

Includes information for a license feature's typing, code, name.

Member Function Documentation

◆ IsExpired()

bool LicenseSpring.ILicenseFeature.IsExpired ( )

Is license feature expired

Returns
Boolean value indicating whether license feature is expired

Implemented in LicenseSpring.LicenseFeature.

◆ ToString()

string LicenseSpring.ILicenseFeature.ToString ( )

Override Object.ToString

Returns
A string that represents the current object

Implemented in LicenseSpring.LicenseFeature.

Property Documentation

◆ AllowOverages

bool LicenseSpring.ILicenseFeature.AllowOverages
get

Indicates whether overage is allowed for Consumption feature.

Meaningful only for Consumption license features.

Implemented in LicenseSpring.LicenseFeature.

◆ AllowUnlimitedConsumptions

bool LicenseSpring.ILicenseFeature.AllowUnlimitedConsumptions
get

Indicates whether unlimited consumptions is allowed for Consumption feature.

Meaningful only for Consumption license features.

Implemented in LicenseSpring.LicenseFeature.

◆ Code

string LicenseSpring.ILicenseFeature.Code
get

Feature code

Implemented in LicenseSpring.LicenseFeature.

◆ ConsumptionPeriod

ConsumptionPeriod LicenseSpring.ILicenseFeature.ConsumptionPeriod
get

Period of time after which consumption is reset.

Meaningful only for Consumption license features.

Implemented in LicenseSpring.LicenseFeature.

◆ ExpiryDate

System.DateTime LicenseSpring.ILicenseFeature.ExpiryDate
get

It's final end date and time license feature is valid.

The DateTime when license feature expires in local time

Implemented in LicenseSpring.LicenseFeature.

◆ ExpiryDateUtc

System.DateTime LicenseSpring.ILicenseFeature.ExpiryDateUtc
get

It's final end date and time license feature is valid.

The DateTime when license feature expires in UTC

Implemented in LicenseSpring.LicenseFeature.

◆ FeatureType

LicenseFeature.Type LicenseSpring.ILicenseFeature.FeatureType
get

Feature type

Implemented in LicenseSpring.LicenseFeature.

◆ LocalConsumption

int LicenseSpring.ILicenseFeature.LocalConsumption
get

Local consumption of the feature, this is the amount which has not been synced yet.

Meaningful only for consumption feature type.

Implemented in LicenseSpring.LicenseFeature.

◆ MaxConsumption

int LicenseSpring.ILicenseFeature.MaxConsumption
get

Maximum consumption of the feature.

Meaningful only for consumption feature type.

Implemented in LicenseSpring.LicenseFeature.

◆ MaxOverages

int LicenseSpring.ILicenseFeature.MaxOverages
get

Maximum overage allowed for the license feature.

Meaningful only for Consumption feature type, the value is 0 in case of unlimited overages

Implemented in LicenseSpring.LicenseFeature.

◆ Metadata

string LicenseSpring.ILicenseFeature.Metadata
get

Feature metadata

Implemented in LicenseSpring.LicenseFeature.

◆ Name

string LicenseSpring.ILicenseFeature.Name
get

Feature name

Implemented in LicenseSpring.LicenseFeature.

◆ ResetConsumption

bool LicenseSpring.ILicenseFeature.ResetConsumption
get

Indicates whether consumption resets after a certain period of time.

Meaningful only for Consumption license features.

Implemented in LicenseSpring.LicenseFeature.

◆ TotalConsumption

int LicenseSpring.ILicenseFeature.TotalConsumption
get

Total consumption of the feature, it includes LocalConsumption.

Meaningful only for consumption feature type.

Implemented in LicenseSpring.LicenseFeature.


The documentation for this interface was generated from the following file: