Hi,
We use Spire.Doc 4.3.2 mainly for mail-merge and PDF conversion. I am wondering if it is possible to check whether our instance of Spire.Doc has been correctly licensed at runtime.
When we run our headless application, we use `com.spire.license.LicenseProvider.setLicenseKey(<license key>)' to license our application. During our testing, we found that, when deployed in a certain way, the license key was not correctly applied - this was an application error and not a problem with the license. We want to be able to ensure that our license is correctly applied whenever we run the application, because if it is not then we may deliver documents to our clients which have the evaluation license warning.
I cannot find any documentation for this, e.g. something like com.spire.license.LicenseProvider.isLicensed(). Is there a way to do this? I have no concerns about our license being valid, only that we have a safe-guard in place in case we deploy our application incorrectly.
Thanks for your support.