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

Free Support Forum - aspose.com

Licensing info not picked up

We have a .NET product that uses Aspose.Words.dll and purchased a license for it. However, the red letters stating “Evaluation Only” still appears in any PDF documents we created. We have applied the license by copying the .lic file into the folder (as recommended by the Live Chat agent on the aspose website) where the Aspose.Words.dll is loaded from.


Any ideas on how to get Aspose.Words.dll to read the .lic file so that the red “Evaluation Only” message disappears?

Thanks

Hello,



Try this in your code :







Dim licenceWord As New Aspose.Words.License

licenceWord.SetLicense(“C:…\licence.lic”).









Have a nice day.

Hi William,

Thanks for your inquiry. Please use License.IsLicensed property to check either your license is set or not. This property returns true if a valid license has been applied; false if the component is running in evaluation mode. Read following link about applying the license.

Applying a License

Please use the following code to set the license as suggested by Nicolas. Hope this helps you.

License lic = new License();

lic.SetLicense(@"path to your license file ...");