I'm trying to use iTextSharp with valid license obtained for commercial purpose. But the document producer line is still showing "AGPL version".
Steps Followed:
- Installed iText 7 License Key (dll version 2.0.2.0) and iTextSharp (dll version 5.5.10.0) through Nuget
Loaded the license XML file before generating the PDF.
LicenseKey.LoadLicenseFile(path\iTextkey.xml);
After loading the license file, I'm able to see the name, company , key etc. details in LicenseKey.GetLicenseeInfo()
.
PDF Producer still shows iText Group NV (AGPL-version) instead of Licensed.
Any suggestions on why it is not working?
You are mixing the wrong versions of iText and the License Key library.
See also http://developers.itextpdf.com/license-key-download