Example #1
0
        public override void Stop()
        {
            TeamspeakServerInterface i = new TeamspeakServerInterface(this.configuration.Host);

            i.SuperAdminLogin("Justin", "msi11496");
            i.StopServer(this.configuration.Port);
            base.Stop();
        }
Example #2
0
        private void SlapperMethod(int playerNumber, int length)
        {
            Console.WriteLine(playerNumber);
            TeamspeakServerInterface tsi = new TeamspeakServerInterface("70.84.125.228");

            tsi.SuperAdminLogin(txtUsername.Text, txtPassword.Text);
            tsi.Query(Convert.ToInt32(this.txtPort.Text));
            tsi.Slap(playerNumber, length);
        }
Example #3
0
 private void button2_Click(object sender, EventArgs e)
 {
     try
     {
         ts.SuperAdminLogin(txtUsername.Text, txtPassword.Text);
         this.panel1.Enabled = true;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }