Exemple #1
0
        public static void Stop()
        {
            if (Program.useHIDG)
            {
                try {
                    HttpWebResponse response = (HttpWebResponse)WebRequest.Create(@"http://*****:*****@"http://localhost:26762/api/v1/hidguardian/affected/purge/").GetResponse();
                } catch { }
            }

            keyboard.Dispose(); mouse.Dispose();
            server.Stop();
            mgr.OnApplicationQuit();
        }
 private void Reassign_FormClosing(object sender, FormClosingEventArgs e)
 {
     keyboard.Dispose();
     mouse.Dispose();
 }