Exemplo n.º 1
0
 public void Send(string command, bool nonewline = false)
 {
     if (Interactive)
     {
         if (nonewline == true)
         {
             RCONServer.Send(Client, command);
         }
         else
         {
             RCONServer.Send(Client, command + (!command.Contains('\n') ? "\r\n" : ""));
         }
         return;
     }
 }
Exemplo n.º 2
0
 public string Read()
 {
     return(RCONServer.Read(Client, Authenticated));
 }
Exemplo n.º 3
0
 public string Read()
 {
     return(RCONServer.Read(Client));
 }