Exemplo n.º 1
0
 public async void Kick(string[] clid, string msg)
 {
     if (Start())
     {
         ServerQueryBaseResult result;
         try
         {
             result = await client.ClientKick(
                 ReasonIdentifier.REASON_KICK_SERVER, "You should have fixed your nickname",
                 Array.ConvertAll(clid, s => int.Parse(s))
                 );
         }
         catch (Exception ex)
         {
             throw ex;
         }
         finally
         {
             Stop();
         }
     }
 }