Management SDK Configuration and Usage
This guide is designed to help you configure your application and start using LicenseSpring Management SDK functionality.
As you navigate through this tutorial, you'll acquire the knowledge to issue licenses and manage orders within your .NET application.
Configuration
To initialize the SDK, you must fill in your LicenseSpring Management API key. It can be found on your LicenseSpring account under Settings->Keys:
Copy this value and create the configuration as shown below:
Now you can create a ManagementService using this configuration object:
Creating licenses
The following stepper shows the typical flow to create key-based licenses and create an order.
Managing orders
Use the returned order id to get order information and manage the order. Example: get licenses from the order.
You can also append licenses to an existing order. Example flow:
User-based licenses
Creating a user-based license is similar but you do not generate license keys. Ensure the product is user-based.
To assign a user to the created license, retrieve the license via the order ID (see Managing orders) and assign the user by license ID:
Was this helpful?