Exemplo n.º 1
0
 public bool ValidateArguments(string[] commandArguments)
 {
     if (commandArguments.Length == 3)
     {
         if (TcpReverseConnection.ValidateIpAddress(commandArguments[1]) && TcpReverseConnection.ValidatePortNumber(commandArguments[2]))
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     else
     {
         return(false);
     }
 }