![]() |
LicenseSpring Management .Net SDK 1.9.0
Easily add Software Licensing to your application
|
Public Types | |
enum | Type { None , Activation , Consumption } |
Feature type enumeration More... | |
Public Member Functions | |
bool | Equals (LicenseFeature other) |
Returns whether LicenseFeatures are equal More... | |
override bool | Equals (object obj) |
Override Object.Equals More... | |
override int | GetHashCode () |
Override Object.GetHashCode More... | |
bool | IsExpired () |
Is license feature expired More... | |
LicenseFeature () | |
LicenseFeature default constructor | |
LicenseFeature (string code, Type type) | |
LicenseFeature constructor More... | |
override string | ToString () |
Override Object.ToString, helper method, do not rely on its output. More... | |
bool | IsExpired () |
Is license feature expired More... | |
string | ToString () |
Override Object.ToString More... | |
Static Public Member Functions | |
static Type | FeatureTypeFromString (string value) |
Helper function. Converts string value to feature type (LicenseFeature.Type) More... | |
Properties | |
string | Code [get] |
Feature code More... | |
DateTime | ExpiryDate [get] |
It's final end date and time license feature is valid. More... | |
DateTime | ExpiryDateUtc [get] |
It's final end date and time license feature is valid. More... | |
Type | FeatureType [get] |
Feature type More... | |
int | MaxConsumption [get] |
Maximum consumption of the feature. More... | |
string | Name [get] |
Feature name More... | |
int | TotalConsumption [get] |
Total consumption of the feature, it includes LocalConsumption. More... | |
![]() | |
string | Code [get] |
Feature code 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 | MaxConsumption [get] |
Maximum consumption of the feature. More... | |
string | Name [get] |
Feature name More... | |
int | TotalConsumption [get] |
Total consumption of the feature, it includes LocalConsumption. More... | |
License feature
Particular license may have or not some of the product features.
LicenseSpring.LicenseFeature.LicenseFeature | ( | string | code, |
Type | type | ||
) |
LicenseFeature constructor
code | Feature code |
type | Feature type |
bool LicenseSpring.LicenseFeature.Equals | ( | LicenseFeature | other | ) |
Returns whether LicenseFeatures are equal
other | Object to compare |
override bool LicenseSpring.LicenseFeature.Equals | ( | object | obj | ) |
Override Object.Equals
obj | Object to compare |
|
static |
Helper function. Converts string value to feature type (LicenseFeature.Type)
value | String value of the feature type |
override int LicenseSpring.LicenseFeature.GetHashCode | ( | ) |
Override Object.GetHashCode
bool LicenseSpring.LicenseFeature.IsExpired | ( | ) |
Is license feature expired
Implements LicenseSpring.ILicenseFeature.
override string LicenseSpring.LicenseFeature.ToString | ( | ) |
Override Object.ToString, helper method, do not rely on its output.
Implements LicenseSpring.ILicenseFeature.
|
get |
Feature code
Implements LicenseSpring.ILicenseFeature.
|
get |
It's final end date and time license feature is valid.
Implements LicenseSpring.ILicenseFeature.
|
get |
It's final end date and time license feature is valid.
Implements LicenseSpring.ILicenseFeature.
|
get |
Feature type
Implements LicenseSpring.ILicenseFeature.
|
get |
Maximum consumption of the feature.
Implements LicenseSpring.ILicenseFeature.
|
get |
Feature name
Implements LicenseSpring.ILicenseFeature.
|
get |
Total consumption of the feature, it includes LocalConsumption.
Implements LicenseSpring.ILicenseFeature.