Right place to place the Aspose License for Aspose word Dot net

Hi Team,

I am using Aspose word and have procured Aspose license for that and have placed it in the CS project where we have the code logic for Aspose word, but the thing is even after deploying the code to the server I am getting Aspose Evaluation copyright message in the output. Can you please mention what are the necessary steps to do to rightly place the license in the code.

Thanks,
Karthikeyan

@Karthik_Test_account The best way is to keep Aspose.Words license as an embedded resource in your .NET project. Please see our documentation form ore information:
https://docs.aspose.com/words/net/licensing/#include-the-license-file-as-an-embedded-resource
You should apply the license in your code:

Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense("Aspose.Words.lic");

The license should be applied before instantiating any Aspose.Words.Document objects. For example you can apply the license on Application start or in static constructor of the class that uses Aspose.Words.