![]() |
LicenseSpring .Net SDK 7.30.0
Easily add Software Licensing to your application
|
LicenseFeature interface. More...
Public Member Functions | |
bool | IsExpired () |
Is license feature expired. | |
string | ToString () |
Override Object.ToString. | |
Properties | |
bool | AllowNegativeConsumptions [get] |
Indicates whether negative consumption is allowed for Consumption feature. | |
bool | AllowOverages [get] |
Indicates whether overage is allowed for Consumption feature. | |
bool | AllowUnlimitedConsumptions [get] |
Indicates whether unlimited consumption is allowed for Consumption feature. | |
string | Code [get] |
Feature code. | |
ConsumptionPeriod | ConsumptionPeriod [get] |
Period of time after which consumption is reset. | |
System.DateTime | ExpiryDate [get] |
It's final end date and time license feature is valid. | |
System.DateTime | ExpiryDateUtc [get] |
It's final end date and time license feature is valid. | |
LicenseFeature.Type | FeatureType [get] |
Feature type. | |
DateTime | FloatingEndDateTime [get] |
Point in time until which a floating feature is registered. Expressed in local time. | |
DateTime | FloatingEndDateTimeUtc [get] |
Point in time until which a floating feature is registered. Expressed in UTC. | |
uint | FloatingSlotsCount [get] |
Maximum number of simultaneous users allowed for this feature. | |
uint | FloatingSlotsInUse [get] |
Current number of simultaneous users using this feature. | |
uint | FloatingTimeout [get] |
Duration of floating feature registration in minutes. | |
bool | IsFloating [get] |
Is this feature a floating feature. | |
bool | IsOfflineFloating [get] |
Is this feature an offline server floating feature. | |
int | LocalConsumption [get] |
Local consumption of the feature, this is the amount which has not been synced yet. | |
int | MaxConsumption [get] |
Maximum consumption of the feature. | |
int | MaxOverages [get] |
Maximum overage allowed for the license feature. | |
string | Metadata [get] |
Feature metadata. | |
string | Name [get] |
Feature name. | |
bool | ResetConsumption [get] |
Indicates whether consumption resets after a certain period of time. | |
int | TotalConsumption [get] |
Total consumption of the feature, it includes LocalConsumption. | |
LicenseFeature interface.
Includes information for a license feature's typing, code, name.
bool LicenseSpring.ILicenseFeature.IsExpired | ( | ) |
Is license feature expired.
Implemented in LicenseSpring.LicenseFeature.
string LicenseSpring.ILicenseFeature.ToString | ( | ) |
Override Object.ToString.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Indicates whether negative consumption is allowed for Consumption feature.
Meaningful only for Consumption license features.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Indicates whether overage is allowed for Consumption feature.
Meaningful only for Consumption license features.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Indicates whether unlimited consumption is allowed for Consumption feature.
Meaningful only for Consumption license features.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Feature code.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Period of time after which consumption is reset.
Meaningful only for Consumption license features.
Implemented in LicenseSpring.LicenseFeature.
|
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.
|
get |
It's final end date and time license feature is valid.
The DateTime when license feature expires in UTC
Implemented in LicenseSpring.LicenseFeature.
|
get |
Feature type.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Point in time until which a floating feature is registered. Expressed in local time.
Meaningful only for floating features. Returns DateTime.Now if a feature is not registered or is not floating.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Point in time until which a floating feature is registered. Expressed in UTC.
Meaningful only for floating licenses. Returns DateTime.Now if a feature is not registered or is not floating.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Maximum number of simultaneous users allowed for this feature.
Meaningful only for floating features.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Current number of simultaneous users using this feature.
Meaningful only for floating features.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Duration of floating feature registration in minutes.
Meaningful only for floating features.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Is this feature a floating feature.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Is this feature an offline server floating feature.
Implemented in LicenseSpring.LicenseFeature.
|
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.
|
get |
Maximum consumption of the feature.
Meaningful only for consumption feature type.
Implemented in LicenseSpring.LicenseFeature.
|
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.
|
get |
Feature metadata.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Feature name.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Indicates whether consumption resets after a certain period of time.
Meaningful only for Consumption license features.
Implemented in LicenseSpring.LicenseFeature.
|
get |
Total consumption of the feature, it includes LocalConsumption.
Meaningful only for consumption feature type.
Implemented in LicenseSpring.LicenseFeature.