Hi I just got Aspose.Total and moved License in to the bin folder.
Aspose.Words.License license = new
Aspose.Pdf.License license = new Aspose.Pdf.License();
Just for your information, you have to set license for each product separately that you are using in your projects/applications. For more details please visit documentation links below: