0 votes

Hi I have a solution with the main interface and a linked project with a class library project with the mail.dll functionality. I placed the license file in the root of the windowms project that is the startup project , but I get an invalid license message. can you help me where exactly should I copy the license file?

by (790 points)
What exact license status you get? Are you sure your license is still valid for the latest version?

1 Answer

0 votes

The license file is loaded from the run folder of your application (AppDomain.CurrentDomain.BaseDirectory).

You can use following code to get the license path and status pragmatically:

using Limilabs.Mail.Licensing;

// ...

string fileName = LicenseHelper.GetLicensePath(); 
LicenseStatus status = LicenseHelper.GetLicenseStatus();

Remember also that your application needs to have read access to this file.

by (298k points)