License in child application domain


#1

hi.

I am registered user and own Aspose.Total.lic.

In my main(...) I have specified:

Aspose.Cells.License licenseCells = new Aspose.Cells.License();
licenseCells.SetLicense(@"Aspose.Total.lic");

Aspose.Pdf.License licensePdf = new Aspose.Pdf.License();
licensePdf.SetLicense(@"Aspose.Total.lic");

If I use xls->pdf in current application domain, then i get no "aspose evaluation". If I make conversion in child application domain, then license is missing. Is there any way to set license in main application domain and make it "visible" in all child app domains?

thanks

P.S.

AppDomain domain = AppDomain.CreateDomain( "child domain name", evidence, AppDomain.CurrentDomain.BaseDirectory, folder, false );

MyClass mc = domain.CreateInstance( assemblyName, toolClassName );
mc.convert(...)


#2

Hi,

Thank you for considering Aspose.

As you can see from http://www.aspose.com/Wiki/default.aspx/Aspose.Pdf/Licensing.html, the license has to been set per application. So I think you need to set the license in your child applications.