protected override void OnStart(string[] args)
        {
            EventLog.WriteEntry("Service Wrapper", "Service started",
                                EventLogEntryType.Information);

            _engine.Start();
        }
        private static void RunAsConsole()
        {
            Console.CursorVisible = false;

            Console.WriteLine("Console-Mode (Press enter to exit)");

            HostEngine engine = new HostEngine(true);

            engine.Start();

            Console.ReadLine();
        }