Esempio n. 1
0
        public static string GenerateLicenseKey(string inputString)
        {
            string licenseKey = AptimaEncryptor.EncryptKey(inputString, encryptionKey);

            return(licenseKey);
        }
Esempio n. 2
0
        public static AptimaLicenseInfo VerifyLicenseKey(string licenseKey)
        {
            AptimaLicenseInfo license = AptimaEncryptor.DecryptKey(licenseKey, encryptionKey, validInputStringLength);

            return(license);
        }