Пример #1
0
 public StandardLicenseServices(IProductInformationServices productInformationServices, ILicenseKeyValidator licenseKeyValidator, ILicenseKeyDecoder licenseKeyDecoder, IConfigurationServices configurationServices, ILicenseKeyServices licenseKeyProvider)
 {
     ProductInformationServices = productInformationServices;
     LicenseKeyDecoder          = licenseKeyDecoder;
     LicenseKeyValidator        = licenseKeyValidator;
     LicenseKeyProvider         = licenseKeyProvider;
     ConfigurationServices      = configurationServices;
     //PreExpirationNotice = "You are using an evaluation version of this software. Please purchase the full version to unlock all the features.";
     //PostExpirationNotice = "Please purchase the full version to continue using this software.";
     LicenseInformation = DetermineLicenseInformation();
 }
 public StandardLicenseKeyValidatorWithVersionCheck(IProductInformationServices productInformationServices, ILicenseKeyDecoder licenseDecoder)
     : base(licenseDecoder)
 {
     ProductInformationServices = productInformationServices;
 }
 public StandardLicenseKeyValidator(ILicenseKeyDecoder licenseDecoder)
 {
     LicenseDecoder = licenseDecoder;
 }