public bool Validate() { try { var key = LicenseKey.Decrypt(Shared.ENCRYPTION_KEY); IssueDate = ExtractDate(key, 0); ExpirationDate = ExtractDate(key, 8); RegisteredEmail = key.Substring(16, key.Length - 16); IsTrial = IsExpired(this); return(true); } catch { Rest(); } return(false); }