Beispiel #1
0
        private static void WatchdogOnTimerExpired()
        {
            Write.WriteConsole(ConsoleTypes.Error, @"Watchdog Triggered");
            _timer.Stop();
            //RestartServices();
            Write.FfxivGameStop();

            /*
             * if (InvokeRequired)
             * {
             *  ExpireDelegate del = WatchdogOnTimerExpired;
             *  Invoke(del);
             * }
             * else
             * {
             *  write.WriteConsole(ConsoleTypes.ERROR, "Watchdog Triggered");
             *  Timer.Stop();
             *  //RestartServices();
             *  write.FFXIVGameStop();
             * }
             */
        }