This message was posted using Banckle Live Chat 2 Forum
Thanks for your posting and using Aspose.Cells.
You can set license using two lines of code. Suppose your license file name is abc.lic and you have placed it in c:\myfolder then the full path to your license file will be c:\myfolder\abc.lic
Now you will write the following code to set the license.
Aspose.Cells.License lic = new Aspose.Cells.License();
And that's all.
Please note, license file has .lic extension. It is plain xml file. If you open your license file in notepad, you will see plain xml.
You can also embed your license as embedded resource. Please see the image in the following documentation article that explains how to embed your license. The image shows Aspose.Words license, but you can apply the same thing with Aspose.Cells or any other Aspose API license.
To embed the license you will have set the Build Action property of the license as "Embedded Resource"
( http://www.aspose.com/docs/display/wordsnet/Including+the+License+File+as+an+Embedded+Resource )
For more information on Licensing, please see the following documentation article.
( http://www.aspose.com/docs/display/cellsnet/Licensing )