About putting the license into window based program

Hi,

I have purchased ASPOSE.Total and it works well with full functionality in my web based Application in .net.

But now i m using this one in my window based program in C#.net. Even though it works well with full functionality and with license file. I use the license file in program.cs. The code is as follows----

Aspose.BarCode.License license1 = new Aspose.BarCode.License();

string kk1 = @"D:\Munendra\Projects\MainDocFlow\DocFlow\DocFlow\Resources\Aspose.lic";

license1.SetLicense(kk1);

But the problem is when I create a setup file and installs it on another system, it searches for the same path as described in the code and fails.

So, will u please suggest a way ASAP that how can I add it in resources and use this license file in my application so that it works on other systems also.

Thanx........

Munendra Maheshwari

Hi Munendra,

Thanks for considering Aspose.

Please refer to http://www.aspose.com/documentation/visual-components/aspose.barcode-for-.net-and-java/licensing.html for setting the license as an embedded resource.