I’m looking for assistance to determine which Aspose.Pdf license version to purchase for my use case within our Epicor Kinetic cloud instance.
Previously, within our Epicor function, I was able to instantiate the embedded license provided by Epicor using the following code:
var license = new Aspose.Pdf.License();
var assembly = System.Reflection.Assembly.Load("Ice.Lib.PDF");
I now understand that with the migration to the cloud, this license is no longer managed this way, and I need to acquire a new one. Could you please instruct me on which product I need to purchase?
My primary use for the license is to merge different PDFs that are stored as Base64 strings. The specific code for this task is:
byte[] pdfBytes = Convert.FromBase64String(base64Pdf);
using (var ms = new MemoryStream(pdfBytes))
using (var inputPdf = new Aspose.Pdf.Document(ms))
{
finalPdf.Pages.Add(inputPdf.Pages);
}
}
}
using (var resultStream = new MemoryStream())
{
finalPdf.Save(resultStream);
base64MergedPdf = Convert.ToBase64String(resultStream.ToArray());
}
Any guidance on the correct product for this functionality would be greatly appreciated.
To determine the appropriate Aspose.Pdf license for your use case within the Epicor Kinetic Cloud, here are the steps and considerations you should take into account:
1. Understanding Your Use Case
Since your primary requirement is to merge different PDFs that are stored as Base64 strings, you will need the Aspose.Pdf for .NET library. This library provides comprehensive functionality for PDF manipulation, including merging, which is what you are looking to do.
2. Choosing the License Type
Aspose offers different types of licenses based on your needs:
Developer Small Business License: This is suitable if you are a small business and need to deploy the software on a limited number of servers.
Developer OEM License: This is for companies that want to distribute the Aspose.Pdf library as part of their own applications.
Site License: This allows unlimited usage within a single organization and is suitable for larger enterprises.
Given that you are working within the Epicor Kinetic Cloud, you may want to consider the Developer OEM License if you plan to distribute your application or the Site License if you have multiple developers or applications that will use Aspose.Pdf.
3. Licensing for Cloud Environments
Since you mentioned that the previous embedded license is no longer applicable in the cloud environment, you will need to manage the license programmatically. Aspose provides a way to set the license in your application code. You will typically do this by loading the license file at the start of your application:
var license = new Aspose.Pdf.License();
license.SetLicense("path/to/your/license/file.lic");
4. Purchasing the License
You can purchase the license directly from the Aspose website. Make sure to select the correct product (Aspose.Pdf for .NET) and the appropriate license type based on your needs.
5. Support and Documentation
If you have further questions or need assistance during the purchase process, you can reach out to Aspose support. They can provide guidance specific to your situation and help ensure you select the right product and license.
Summary
You need Aspose.Pdf for .NET for merging PDFs.
Choose a license type based on your deployment needs (Developer OEM or Site License).
Manage the license programmatically in your cloud application.
Purchase the license from the Aspose website and consult their support if needed.
By following these steps, you should be able to acquire the correct Aspose.Pdf license for your Epicor Kinetic Cloud instance.