public override bool PerformAdditionalValidation(ProductLicense license) { bool valid = false; if (license.VersionAware) { if (StandardLicenseTool.GetProductMajorVersion(ProductInformationServices.ProductInformation.ProductVersion) == license.MajorVersionApplicable) { valid = true; } } else { valid = true; } return(valid); }
private byte GetProductMajorVersion() { return(StandardLicenseTool.GetProductMajorVersion(ProductInformationServices.ProductInformation.ProductVersion)); }