Free Support Forum - aspose.com

Checking aspose license file during debugging mode

Hi,

the aspose license file can be applied in the code like shown below:

Aspose.Words.License license = new Aspose.Words.License();

license.SetLicense("Aspose.Words.lic");

Is there any way during debugging the single lines of code to figure out, whether the license file was correctly applied or is the only way to check if the license file was correctly applied if there's no red licences warning in the created document?

Many thanks in advance for a short feedback,

Mike


This message was posted using Page2Forum from Applying a License - Aspose.Words for .NET and Java

Hi Mike,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. There is no way to check whether license is applied programmatically. To check it you should just open the output document and if the output document does not contain evaluation watermark, the license has been applied correctly.

Best regards,