![]() |
LicenseSpring Management .Net SDK 1.15.0
Easily add Software Licensing to your application
|
Class that encapsulates information about the license. This information should be passed to IOrderService.CreateOrder
More...
Public Member Functions | |
| LicenseDetails () | |
| Default constructor. Constructs perpetual, not trial license. | |
Properties | |
| bool | AllowOverages [get, set] |
| Allow or not consumption overages.Meaningful only for consumption license type | |
| ConsumptionPeriod | ConsumptionPeriod [get, set] |
| Period of consumption reset.Format: "week", "month" or "year". | |
| string | ConsumptionPeriodStr [get, set] |
| CustomField[] | CustomFields [get, set] |
| Array of additional custom fields. | |
| bool | EnableMaintenancePeriod [get, set] |
| Whether the license has maintenance plan or not. | |
| bool | IsTrial [get, set] |
| Whether the license is trial or not. | |
| string | LicenseKey [get, set] |
| License key. | |
| LicenseUser[] | LicenseUsers [get, set] |
| Array of license users. | |
| string | MaintenanceDuration [get, set] |
| Maintenance duration.Format: 1y (one year) or 2m (2 months) or 3d (3 days) | |
| string | MaintenancePeriod [get, set] |
| Maintenance end date.Format: "2025-11-27" (YYYY-MM-DD) | |
| uint | MaxActivations [get, set] |
| Maximum number of activations.Indicates on how many computers license can be activated simultaneously. | |
| uint | MaxConsumptions [get, set] |
| Maximum consumption.Meaningful only for consumption license type | |
| uint | MaxOverages [get, set] |
| Maximum overages.Meaningful only for consumption license type | |
| int | MaxTransfers [get, set] |
| Maximum transfers.Limit of license transfers between different devices, defaults to 0 (unlimited). Set to -1 to prevent device transfers. | |
| string | Metadata [get, set] |
| License metadata. | |
| string | Note [get, set] |
| Note for the license. | |
| bool | PreventVM [get, set] |
| Prevent using virtual machine. | |
| ProductFeature[] | ProductFeatures [get, set] |
| Product features available for this license.Array of license features | |
| bool | ResetConsumption [get, set] |
| Enable or not periodic consumption reset.Meaningful only for consumption license type | |
| LicenseType | Type [get, set] |
| License type. | |
| string | ValidityDuration [get, set] |
| Validity duration.Format: 1y (one year) or 2m (2 months) or 3d (3 days) or 4h (4 hours) or 5min (5 minutes) | |
| string | ValidityEndDate [get, set] |
| It's final end date and time license is valid.Format: "2020-10-15 00:00:00" | |
Properties inherited from LicenseSpring.ILicenseDetails | |
Class that encapsulates information about the license. This information should be passed to IOrderService.CreateOrder
|
getset |
Allow or not consumption overages.Meaningful only for consumption license type
Implements LicenseSpring.ILicenseDetails.
|
getset |
Period of consumption reset.Format: "week", "month" or "year".
Implements LicenseSpring.ILicenseDetails.
|
getset |
Array of additional custom fields.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Whether the license has maintenance plan or not.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Whether the license is trial or not.
Implements LicenseSpring.ILicenseDetails.
|
getset |
License key.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Array of license users.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Maintenance duration.Format: 1y (one year) or 2m (2 months) or 3d (3 days)
Implements LicenseSpring.ILicenseDetails.
|
getset |
Maintenance end date.Format: "2025-11-27" (YYYY-MM-DD)
Implements LicenseSpring.ILicenseDetails.
|
getset |
Maximum number of activations.Indicates on how many computers license can be activated simultaneously.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Maximum consumption.Meaningful only for consumption license type
Implements LicenseSpring.ILicenseDetails.
|
getset |
Maximum overages.Meaningful only for consumption license type
Implements LicenseSpring.ILicenseDetails.
|
getset |
Maximum transfers.Limit of license transfers between different devices, defaults to 0 (unlimited). Set to -1 to prevent device transfers.
Implements LicenseSpring.ILicenseDetails.
|
getset |
License metadata.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Note for the license.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Prevent using virtual machine.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Product features available for this license.Array of license features
Implements LicenseSpring.ILicenseDetails.
|
getset |
Enable or not periodic consumption reset.Meaningful only for consumption license type
Implements LicenseSpring.ILicenseDetails.
|
getset |
License type.
Implements LicenseSpring.ILicenseDetails.
|
getset |
Validity duration.Format: 1y (one year) or 2m (2 months) or 3d (3 days) or 4h (4 hours) or 5min (5 minutes)
Implements LicenseSpring.ILicenseDetails.
|
getset |
It's final end date and time license is valid.Format: "2020-10-15 00:00:00"
Implements LicenseSpring.ILicenseDetails.