Example #1
0
        /// <summary>
        /// Check keyword
        /// </summary>
        /// <param name="account">Sms account</param>
        /// <param name="checkKeywordOptions">Check keyword options</param>
        /// <returns>Return check keyword result</returns>
        public static async Task <CheckKeywordResult> CheckKeywordAsync(SmsAccount account, CheckKeywordOptions checkKeywordOptions)
        {
            var smsProvider = GetSmsProvider();

            return(await ExecuteAsync(account, checkKeywordOptions, smsProvider.CheckKeywordAsync).ConfigureAwait(false));
        }
Example #2
0
 /// <summary>
 /// Check keyword
 /// </summary>
 /// <param name="account">Sms account</param>
 /// <param name="checkKeywordOptions">Check keyword options</param>
 /// <returns>Return check keyword result</returns>
 public static CheckKeywordResult CheckKeyword(SmsAccount account, CheckKeywordOptions checkKeywordOptions)
 {
     return(CheckKeywordAsync(account, checkKeywordOptions).Result);
 }
Example #3
0
 /// <summary>
 /// Check keyword
 /// </summary>
 /// <param name="checkKeywordOptions">Check keyword options</param>
 /// <returns>Return check keyword result</returns>
 public static CheckKeywordResult CheckKeyword(CheckKeywordOptions checkKeywordOptions)
 {
     return(CheckKeywordAsync(checkKeywordOptions).Result);
 }