ValidateLicenseOnServerEx2
Last updated
LicenseValidator lv = new LicenseValidator (settingsFile);
ILicenseInfo li = new LicenseInfo();
string serverMessage = string.Empty;
EServerErrorCode errorCode;
bool result = lv.QlmLicenseObject.ValidateLicenseOnServerEx2(string.Empty, activationKey, computerKey, computerID, Environment.MachineName, false, ref li, out errorCode, out serverMessage);
bool reactivate = (li.NewExpiryDate != DateTime.MinValue) ||
!String.IsNullOrEmpty(li.NewFeatures) ||
(li.NewFloatingSeats != -1);
if (reactivate)
{
// Reactivate the key
}