Ejemplo n.º 1
0
        public bool ValidateApiToken(string ApiToken)
        {
            bool result = false;

            manager = new MailJetManager();
            if (ApiSecret != string.Empty)
            {
                result = manager.IsValidAsync(ApiToken, ApiSecret);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public bool IsValidApiKeyMailJet(string key, string privateKey)
        {
            MailJetManager mailJetManager = new MailJetManager();

            return(mailJetManager.IsValidAsync(key, privateKey));
        }