![]() |
LicenseSpring Management .Net SDK 1.10.1
Easily add Software Licensing to your application
|
License interface. More...
Public Member Functions | |
int | DaysRemaining () |
How many days remaining till license expires. | |
bool | IsMaintenancePeriodExpired () |
Is maintenance period expired. | |
int | MaintenanceDaysRemaining () |
How many days remaining till maintenance period expires in current time zone. | |
DateTime | MaintenancePeriodLocal () |
| |
DateTime | ValidityPeriodLocal () |
| |
Properties | |
uint? | ActiveUpToDateDevices [get] |
bool | AllowOverages [get] |
ConsumptionPeriod | ConsumptionPeriod [get] |
System.DateTime | CreatedAt [get] |
The DateTime of license creation. | |
List< CustomField > | CustomFields [get] |
Custom data fields available for the license. | |
uint? | DisabledUser [get] |
bool | EnableMaintenancePeriod [get] |
uint | FloatingInUseDevices [get] |
uint? | FloatingTimeout [get] |
uint | FloatingUsers [get] |
ulong | Id [get] |
License id. | |
bool | IsFloating [get] |
Is this license floating. | |
bool | IsTrial [get] |
Is this license trial. | |
string | LastActivationDevice [get] |
System.DateTime | LastCheck [get] |
string | LicenseKey [get] |
License key or null if not available (in case of user-based product) | |
LicenseType | LicenseType [get] |
Type of license. | |
LicenseUser | LicenseUser [get] |
List< LicenseUser > | LicenseUsers [get] |
System.DateTime | MaintenancePeriod [get] |
Maintenance period for the license. | |
uint | MaxActivations [get] |
How many times license can be activated. | |
int? | MaxConsumptions [get] |
Maximum consumption of the license. | |
uint | MaxLicenseUsers [get] |
Maximum number of users of the license. | |
int | MaxOverages [get] |
Extra amount of consumption that allows to go over MaxConsumption . | |
string | Note [get] |
string | Order [get] |
string | OrderItem [get] |
string | OrderStoreId [get] |
A client order id that can be manually set in platform or through the SDK. Not to be confused with order id that the server generates. | |
Customer | Owner [get] |
Information about license owner, commonly it's a person or organization associated with the license. | |
bool | PreventVm [get] |
Product | Product [get] |
Information about a product this license belongs to. | |
List< LicenseFeature > | ProductFeatures [get] |
Product features available for the license. | |
bool | ResetConsumption [get] |
LicenseStatus | Status [get] |
LicenseStatus object for this license. | |
string | SubscriptionId [get] |
System.DateTime | TimeActivated [get] |
The DateTime of license activation. | |
System.DateTime | TimeDisabled [get] |
The DateTime when the license was disabled. | |
uint | TimesActivated [get] |
How many times license already been activated. | |
uint | TotalActiveDevices [get] |
int | TotalConsumptions [get] |
Current total consumption of the license. | |
uint | TransferCount [get] |
uint | TrialDays [get] |
System.DateTime | UpdatedAt [get] |
The DateTime of the last license update. | |
System.DateTime | ValidityPeriod [get] |
The DateTime until the license is valid. | |
License interface.
Provides all information on a license.
int LicenseSpring.ILicense.DaysRemaining | ( | ) |
How many days remaining till license expires.
Days counter will be changed in midnight by UTC. 0 means license expires today.
Implemented in LicenseSpring.License.
bool LicenseSpring.ILicense.IsMaintenancePeriodExpired | ( | ) |
Is maintenance period expired.
Implemented in LicenseSpring.License.
int LicenseSpring.ILicense.MaintenanceDaysRemaining | ( | ) |
How many days remaining till maintenance period expires in current time zone.
Days counter will be changed in local midnight.
Returns int.MaxValue in case maintenance period unlimited or not specified.
Implemented in LicenseSpring.License.
DateTime LicenseSpring.ILicense.MaintenancePeriodLocal | ( | ) |
Implemented in LicenseSpring.License.
DateTime LicenseSpring.ILicense.ValidityPeriodLocal | ( | ) |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
The DateTime of license creation.
Implemented in LicenseSpring.License.
|
get |
Custom data fields available for the license.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
License id.
Implemented in LicenseSpring.License.
|
get |
Is this license floating.
Implemented in LicenseSpring.License.
|
get |
Is this license trial.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
License key or null if not available (in case of user-based product)
Implemented in LicenseSpring.License.
|
get |
Type of license.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Maintenance period for the license.
Implemented in LicenseSpring.License.
|
get |
How many times license can be activated.
Implemented in LicenseSpring.License.
|
get |
Maximum consumption of the license.
Implemented in LicenseSpring.License.
|
get |
Maximum number of users of the license.
Implemented in LicenseSpring.License.
|
get |
Extra amount of consumption that allows to go over MaxConsumption
.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
A client order id that can be manually set in platform or through the SDK. Not to be confused with order id that the server generates.
Implemented in LicenseSpring.License.
|
get |
Information about license owner, commonly it's a person or organization associated with the license.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Information about a product this license belongs to.
Implemented in LicenseSpring.License.
|
get |
Product features available for the license.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
LicenseStatus object for this license.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
The DateTime of license activation.
Implemented in LicenseSpring.License.
|
get |
The DateTime when the license was disabled.
Implemented in LicenseSpring.License.
|
get |
How many times license already been activated.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Current total consumption of the license.
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
Implemented in LicenseSpring.License.
|
get |
The DateTime of the last license update.
Implemented in LicenseSpring.License.
|
get |
The DateTime until the license is valid.
Implemented in LicenseSpring.License.