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

Free Support Forum - aspose.com

How to activate trail license

I downloaded the sample project which works for the first 50 characters. I’ve now been issues a trial license and have no idea where to code this:

        Aspose.OCR.License license = new Aspose.OCR.License();
        license.SetLicense(dataDir + "Mylicense.lic");

Please assist as the example project does not address this.


Thanks for contacting support.

In order to evaluate the API without any limitation, please consider applying free 30-days temporary license over our website. In case you need further assistance, please feel free to let us know.

Thank you for the response. However, I already was issued a free 30 day trial of the API. I would like to update the sample C# project to include the license but there’s no code example to do that. I’m not familiar with C# and there is no VB.Net example so I’m looking for a code snippet that shows how to apply the license to the sample project.


You can set license in RunExamples.cs file in public static void Main() method once. In case you face any issue please feel free to let us know.