private static void RunAsCommandLine() { MonitorHost host = new MonitorHost(); host.Start(); Console.ReadLine(); host.Stop(); Console.ReadLine(); }