Beispiel #1
0
 static void Main(string[] args)
 {
     var server = new Server();
     while (true)
     {
         Console.ReadLine();
     }
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            //----------------Thread Testing--------------------------------------|
              ThreadPool.SetMaxThreads(4, 4);
              Server server = new Server();

              //--------------Emulation Testing-------------------------------------|
              //foreach (Process process in ProcessHandler.GetProcessList()) {
              //  Console.WriteLine(process.Id + " | " + process.ProcessName + " | " + process.MainWindowTitle);
              //}
              //Process firefox = Process.GetProcessById(6844);        // |
              //Shortcut shortcut = new Shortcut(0x10, 0x4E);          // |
              //EmulationHandler.EmulateOnBackground(firefox, "k");      // |
              //EmulationHandlerProcessHandler.EmulateOnForeground(firefox, shortcut); // |
              //----------------------------------------------------------|
        }