We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Setting License

We have purchased Aspose Total and are using Aspose Words, Pdf, PdfKit & Barcode in our application.
In one of the methods, I am using all of the above components.
Do I have to set license for each individual application by calling SetLicense() on each component instance?
Is there a way of setting the license in a common place like registry so that I don’t have to set the the license on each instance that I create?



Thanks for your request. You don’t need to set license for each created instance. You are only required to set a license once per application or process. Please see the following link to learn when to apply license:
But you should set license for each Aspose product independently. For example:

// Set Aspose.Words License
Aspose.Words.License awLic = new Aspose.Words.License();
// Set Aspose.Pdf license
Aspose.Pdf.License apLic = new Aspose.Pdf.License();

Best regards.