How to add licence key in dot net core 6 project

Hi Team,
I have purchased licence key .How to add that key in dot net core 6 project

@VikashVerma551

I’m sorry for the delayed response. Please check this section in documentation - Licensing | Documentation.

string licensePath = "path to the .lic file";
License license = new License();
license.SetLicense(licensePath);

Thanks for the same.it worked

@VikashVerma551

You’re welcome!