Exemplo n.º 1
0
 public static bool IsInvalidSubCode(SecretException secretException)
 {
     foreach (string code in InvalidSubUserCodes)
     {
         if (code.Equals(secretException.ErrorCode))
         {
             return(true);
         }
     }
     return(false);
 }
Exemplo n.º 2
0
 public static bool IsInvalidSession(SecretException secretException)
 {
     foreach (string code in InvalidSessionCodes)
     {
         if (code.Equals(secretException.ErrorCode) && InvalidSessionkey.Equals(secretException.SubErrorCode))
         {
             return(true);
         }
     }
     return(false);
 }