NuGet license and Version control

What would be best way to use NuGet license key in version controlled projects.

Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");

I would like to not include license in git but still have it available during build process.


1 Reply

JM Jeyaseelan M Syncfusion Team November 3, 2023 11:23 AM UTC

Hi Branislav,


Please use Azure Key Vaults to store the license key. Refer to the following documentation to learn more about this.

Licensing FAQ – How to securely store and use Syncfusion License Keys in Azure Key Vault | Syncfusion

You can also get the Syncfusion license keys by storing them in an environment variable and using them in your build process.

If you are trying to use our components and would like to push your source to a public repository\or any open-source repositories or sharing you source project to your customers, you should not push\provide your Syncfusion license keys publicly along with your sources. You should push\provide your source without Syncfusion license keys.

If your clients need to use Syncfusion libraries\binaries directly, you can inform your clients to sign-up to us (Syncfusion) and get a trial or valid license to use our products.

You can distribute your deployed applications which is registered with valid license keys. It won’t cause any problems. But you shouldn’t distribute our community license and Syncfusion license keys in a public environment or through your sources.

If you didn’t wish to register the license key in your application, you can download the licensed installer from your account and you can use the nuget packages from the installer in your application. In this case, no license message will be displayed.


Find below the details to download and installed the licensed version of our installer,


https://help.syncfusion.com/common/essential-studio/download#download-the-license-version


Installation steps: https://help.syncfusion.com/common/essential-studio/installation/install-using-the-web-installer


Regards,

Jeyaseelan M


Loader.
Up arrow icon