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);
        }
示例#2
0
 private byte GetProductMajorVersion()
 {
     return(StandardLicenseTool.GetProductMajorVersion(ProductInformationServices.ProductInformation.ProductVersion));
 }