Пример #1
0
        public static string GenerateLicenseKey(string inputString)
        {
            string licenseKey = AptimaEncryptor.EncryptKey(inputString, encryptionKey);

            return(licenseKey);
        }
Пример #2
0
        public static AptimaLicenseInfo VerifyLicenseKey(string licenseKey)
        {
            AptimaLicenseInfo license = AptimaEncryptor.DecryptKey(licenseKey, encryptionKey, validInputStringLength);

            return(license);
        }