License not valid for this product

I am trying to set a licence to use the Aspose.Slides product.

It keeps saying that the license is not valid even though its a aspose.total.lic and it works for all the other products.

I am using the following code to register the license:

var license = new Aspose.Slides.License();
license.SetLicense(“Aspose.Total.lic”);

I made sure that the license i embeded in the solution with the correct name.

I am currently using an old version (7.6.0.0) because my license is also old so i cant use newer versions.

@D3-ICT,

I have observed the issue shared by you and like to share that you are using Aspose.Slides version that belongs to legacy API which is no longer supported from last 4 years and has been phased out. The only available option is to use latest API and if any issue is reproduced using latest API, we will log that in our issue tracking system for further investigate and resolution on our end.