Free Support Forum - aspose.com

Lic question

I just got my license file and got it working according to the instructions.

But am I supposed to ship it to the customer? That doesn’t seem right but I don’t understand how else it will work.

You can add license file to your assembly as resource.

I’ve tried reading up on assemblies, but I can’t figure out the way to add a license file and reference it in VB.NET.

Please follow http://www.aspose.com/Wiki/default.aspx/Aspose.Word/Licensing.html to use the license. It applies to Aspose.PowerPoint also.

Quick note to Alexey: Please make a similar wiki topic for Aspose.PowerPoint.

My program does it just like the wiki you pointed to and it works just fine.

I was looking for info on embedding the license file in the assembly so that my license couldn’t be pirated.

From Wiki:

Another neat way of packaging the license with your application and making sure it will not be lost is to include it as an embedded resource into one of the assemblies that calls Aspose.Word. To include the file as an embedded resource perform the following steps:

  1. In Visual Studio .NET, include the .lic file into the project using the File | Add Existing Item… menu.
  2. Select the file in the Solution Explorer and set Build Action to Embedded Resource in the Properties window.

I missed that part Alexey. It’s working now.