![]() |
LicenseSpring Management .Net SDK 1.9.0
Easily add Software Licensing to your application
|
Implements ILicenseService
interface
More...
Public Member Functions | |
string | AssignUser (ulong licenseId, LicenseUser user) |
Assign User to a License More... | |
License | CheckLicense (License license, string hardwareId) |
Checks the validity of license against a certain hardware ID. More... | |
uint | CountLicenseTransfers (CountTransfersRequestDto dto) |
Counts license transfers if requesting manager has access permissions to it. More... | |
CustomField | CreateLicenseCustomField (CreateCustomFieldDto dto) |
Creates a license custom field. More... | |
string | DeleteLicense (ulong licenseId) |
Delete a single License More... | |
string | DeleteLicenseCustomField (uint fieldId) |
Deletes license custom field. More... | |
string | DisableLicense (ulong licenseId) |
Disables the license without devices. More... | |
string | EnableLicense (ulong licenseId) |
Enables the license. More... | |
string[] | GenerateLicenseKey (string productCode, uint quantity=1) |
Connect to the LicenseSpring platform and generate requested amount of license keys.Note, license keys generated here are NOT stored in LicenseSpring system. They get stored once you make an order. More... | |
ActivationHistory[] | ListActivationHistories (ListActivationHistoriesRequestDto dto, out uint count) |
Shows all license activation histories the requesting manager has access permissions to. More... | |
CustomField[] | ListLicenseCustomFields (ListCustomFieldsRequestDto dto, out uint Count) |
Retrieves license custom fields by license id. More... | |
License[] | ListLicenses (ListLicensesRequestDto dto, out uint Count) |
Retrieves license infrmation from LicenseSpring platform. More... | |
LicenseUser[] | ListLicenseUsers (ListUsersRequestDto dto, out uint Count) |
Retrieves infrmation about license users from LicenseSpring platform. More... | |
UsageHistory[] | ListUsageHistories (ListUsageHistoriesRequestDto dto, out uint count) |
Shows all license usage histories the requesting manager has access permissions to. More... | |
License | ResetConsumptions (ulong licenseId) |
Reset license consumptions More... | |
string | ResetLicense (ulong licenseId) |
Reset a single License More... | |
void | SaveLicenseByKey (string key, string path) |
Retrieves license infrmation from LicenseSpring platform and saves it to file. This file can be used for offline license updation using licensing SDK. See License.UpdateOffline() function in licensing SDK. More... | |
string | SetUserPassword (string userEmail, string password) |
Sets password for a single user if requesting manager has access permissions to it. More... | |
string | SetUserPassword (ulong userId, string password) |
Sets password for a single user if requesting manager has access permissions to it. More... | |
string | UnassignUser (ulong licenseId, ulong userId) |
Unassign User from a License More... | |
License | UpdateLicense (UpdateLicenseRequestDto dto, ulong licenseId) |
Updates the license. More... | |
CustomField | UpdateLicenseCustomField (ulong id, string value) |
Updates a license custom field. More... | |
License | UpdateLicenseProductFeatures (AddLicenseProductFeatureDto[] features, ulong licenseId) |
Updates license product features. More... | |
LicenseUser | UpdateLicenseUser (LicenseUser user) |
Updates license user. More... | |
![]() | |
void | Initialize (ManagementConfiguration configuration) |
Initialize management service with given configuration More... | |
bool | IsInitialized () |
Check whether management service has been initialized More... | |
bool | IsOnline (bool throwExceptions=false) |
Helper method, it checks connection to the LicenseSpring platform. More... | |
void | Initialize (ManagementConfiguration configuration) |
Initialize management service with given configuration More... | |
bool | IsInitialized () |
Check whether management service has been initialized More... | |
bool | IsOnline (bool throwExceptions=false) |
Helper method, it checks connection to the LicenseSpring platform. More... | |
string | AssignUser (ulong licenseId, LicenseUser user) |
Assign User to a License More... | |
License | CheckLicense (License license, string hardwareId) |
Checks the validity of license against a certain hardware ID. More... | |
uint | CountLicenseTransfers (CountTransfersRequestDto dto) |
Counts license transfers if requesting manager has access permissions to it. More... | |
CustomField | CreateLicenseCustomField (CreateCustomFieldDto dto) |
Creates a license custom field. More... | |
string | DeleteLicense (ulong licenseId) |
Delete a single License More... | |
string | DeleteLicenseCustomField (uint fieldId) |
Deletes license custom field. More... | |
string | DisableLicense (ulong licenseId) |
Disables the license without devices. More... | |
string | EnableLicense (ulong licenseId) |
Enables the license. More... | |
string[] | GenerateLicenseKey (string productCode, uint quantity=1) |
Connect to the LicenseSpring platform and generate requested amount of license keys. More... | |
ActivationHistory[] | ListActivationHistories (ListActivationHistoriesRequestDto dto, out uint count) |
Shows all license activation histories the requesting manager has access permissions to. More... | |
CustomField[] | ListLicenseCustomFields (ListCustomFieldsRequestDto dto, out uint count) |
Retrieves license custom fields by license id. More... | |
License[] | ListLicenses (ListLicensesRequestDto dto, out uint count) |
Retrieves license infrmation from LicenseSpring platform. More... | |
LicenseUser[] | ListLicenseUsers (ListUsersRequestDto dto, out uint count) |
Retrieves infrmation about license users from LicenseSpring platform. More... | |
UsageHistory[] | ListUsageHistories (ListUsageHistoriesRequestDto dto, out uint count) |
Shows all license usage histories the requesting manager has access permissions to. More... | |
License | ResetConsumptions (ulong licenseId) |
Reset license consumptions More... | |
string | ResetLicense (ulong licenseId) |
Reset a single License More... | |
void | SaveLicenseByKey (string key, string path) |
Retrieves license infrmation from LicenseSpring platform and saves it to file. This file can be used for offline license updation using licensing SDK. See License.UpdateOffline() function in licensing SDK. More... | |
string | SetUserPassword (string userEmail, string password) |
Sets password for a single user if requesting manager has access permissions to it. More... | |
string | SetUserPassword (ulong userId, string password) |
Sets password for a single user if requesting manager has access permissions to it. More... | |
string | UnassignUser (ulong licenseId, ulong userId) |
Unassign User from a License More... | |
License | UpdateLicense (UpdateLicenseRequestDto dto, ulong licenseId) |
Updates the license. More... | |
CustomField | UpdateLicenseCustomField (ulong id, string value) |
Updates a license custom field. More... | |
License | UpdateLicenseProductFeatures (AddLicenseProductFeatureDto[] features, ulong licenseId) |
Updates license product features. More... | |
LicenseUser | UpdateLicenseUser (LicenseUser user) |
Updates license user. More... | |
Implements ILicenseService
interface
string LicenseSpring.LicenseService.AssignUser | ( | ulong | licenseId, |
LicenseUser | user | ||
) |
Assign User to a License
Implements LicenseSpring.ILicenseService.
Checks the validity of license against a certain hardware ID.
Implements LicenseSpring.ILicenseService.
uint LicenseSpring.LicenseService.CountLicenseTransfers | ( | CountTransfersRequestDto | dto | ) |
Counts license transfers if requesting manager has access permissions to it.
Implements LicenseSpring.ILicenseService.
CustomField LicenseSpring.LicenseService.CreateLicenseCustomField | ( | CreateCustomFieldDto | dto | ) |
Creates a license custom field.
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.DeleteLicense | ( | ulong | licenseId | ) |
Delete a single License
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.DeleteLicenseCustomField | ( | uint | fieldId | ) |
Deletes license custom field.
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.DisableLicense | ( | ulong | licenseId | ) |
Disables the license without devices.
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.EnableLicense | ( | ulong | licenseId | ) |
Enables the license.
Implements LicenseSpring.ILicenseService.
string[] LicenseSpring.LicenseService.GenerateLicenseKey | ( | string | productCode, |
uint | quantity = 1 |
||
) |
Connect to the LicenseSpring platform and generate requested amount of license keys.Note, license keys generated here are NOT stored in LicenseSpring system. They get stored once you make an order.
Implements LicenseSpring.ILicenseService.
ActivationHistory[] LicenseSpring.LicenseService.ListActivationHistories | ( | ListActivationHistoriesRequestDto | dto, |
out uint | count | ||
) |
Shows all license activation histories the requesting manager has access permissions to.
Implements LicenseSpring.ILicenseService.
CustomField[] LicenseSpring.LicenseService.ListLicenseCustomFields | ( | ListCustomFieldsRequestDto | dto, |
out uint | Count | ||
) |
Retrieves license custom fields by license id.
Implements LicenseSpring.ILicenseService.
License[] LicenseSpring.LicenseService.ListLicenses | ( | ListLicensesRequestDto | dto, |
out uint | Count | ||
) |
Retrieves license infrmation from LicenseSpring platform.
Implements LicenseSpring.ILicenseService.
LicenseUser[] LicenseSpring.LicenseService.ListLicenseUsers | ( | ListUsersRequestDto | dto, |
out uint | Count | ||
) |
Retrieves infrmation about license users from LicenseSpring platform.
Implements LicenseSpring.ILicenseService.
UsageHistory[] LicenseSpring.LicenseService.ListUsageHistories | ( | ListUsageHistoriesRequestDto | dto, |
out uint | count | ||
) |
Shows all license usage histories the requesting manager has access permissions to.
Implements LicenseSpring.ILicenseService.
License LicenseSpring.LicenseService.ResetConsumptions | ( | ulong | licenseId | ) |
Reset license consumptions
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.ResetLicense | ( | ulong | licenseId | ) |
Reset a single License
Implements LicenseSpring.ILicenseService.
void LicenseSpring.LicenseService.SaveLicenseByKey | ( | string | key, |
string | path | ||
) |
Retrieves license infrmation from LicenseSpring platform and saves it to file. This file can be used for offline license updation using licensing SDK. See License.UpdateOffline() function in licensing SDK.
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.SetUserPassword | ( | string | userEmail, |
string | password | ||
) |
Sets password for a single user if requesting manager has access permissions to it.
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.SetUserPassword | ( | ulong | userId, |
string | password | ||
) |
Sets password for a single user if requesting manager has access permissions to it.
Implements LicenseSpring.ILicenseService.
string LicenseSpring.LicenseService.UnassignUser | ( | ulong | licenseId, |
ulong | userId | ||
) |
Unassign User from a License
Implements LicenseSpring.ILicenseService.
License LicenseSpring.LicenseService.UpdateLicense | ( | UpdateLicenseRequestDto | dto, |
ulong | licenseId | ||
) |
Updates the license.
Implements LicenseSpring.ILicenseService.
CustomField LicenseSpring.LicenseService.UpdateLicenseCustomField | ( | ulong | id, |
string | value | ||
) |
Updates a license custom field.
Implements LicenseSpring.ILicenseService.
License LicenseSpring.LicenseService.UpdateLicenseProductFeatures | ( | AddLicenseProductFeatureDto[] | features, |
ulong | licenseId | ||
) |
Updates license product features.
Implements LicenseSpring.ILicenseService.
LicenseUser LicenseSpring.LicenseService.UpdateLicenseUser | ( | LicenseUser | user | ) |
Updates license user.
Implements LicenseSpring.ILicenseService.