Free Support Forum -

How to use licence version

Hi Team, My company is going through the process of purchasing a licence and would be in hand in a day or two. I am using evaluation version of Aspose.Cells so far. Can you please let me know what I need to change in my code in order to make the DLL as licenced. Thanks, Subbu


Thanks for your query.

It is quite easy to implement license in an application which is developed without license or using temporary license. There is no need to change even a single line of code to use license. Just add following two lines at the beginning of application such that these two lines are executed once only throughout the life span of application and before calling any function/feature of Aspose.Cells DLL.

Aspose.Cells.License lic = new Aspose.Cells.License();

After implementing the license, you may test the license using property WorkBook.IsLicensed as shown below:

Workbook wb = new Workbook();
        //license is implemented


Furthermore, you may see the document for your complete reference on Licensing: