Signed License
Below is the code necessary to activate SpreadsheetGear.
SpreadsheetGear.Factory.SetSignedLicense("YOUR SIGNED LICENSE HERE");
Next Steps
A Signed License is a string that is generated from either the Licensed User and Evaluation Download pages and is passed into the SpreadsheetGear.Factory.SetSignedLicense(...) method to activate the unlimited mode for any of our NuGet-distributed products*. Without activation these products operate in a limited free mode.
*Only SpreadsheetGear products that are distributed on NuGet require activation with a Signed License:
The following products do not use the Signed License activation mechanism and instead have separate Licensed and Evaluation installers that can be downloaded from the Licensed User and Evaluation Download pages with your License Number:
- SpreadsheetGear for .NET Framework
Licensed Users
If you are already a licensed user of a SpreadsheetGear product that uses a Signed License for activation, you can use the License Number provided to you at purchase time to generate a Signed License string from the Licensed User Downloads page.
Evaluators
If you would like to evaluate SpreadsheetGear, you can generate a free 30-day Signed Trial License by visiting the Evaluation Downloads page.
The Signed License mechanism activates multiple SpreadsheetGear products distributed on NuGet:
- SpreadsheetGear Engine for .NET
- SpreadsheetGear NuGet package - SpreadsheetGear for Windows
- SpreadsheetGear NuGet package
The below examples will use SpreadsheetGear Engine for .NET for demonstration purposes. Please change the package name if you will be working with another product.
dotnet add package SpreadsheetGear
Install-Package SpreadsheetGear
Add the above SpreadsheetGear.Factory.SetSignedLicense(...) line of code somewhere in the initialization phase of your application—where it will get called only once and before any IWorkbook or IWorkbookSet objects have been created.
For instance, in an ASP.NET Core Web App you might place this in your Program.cs file or Startup class; or in most other application types near the beginning of the Main(...) method.