Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     using (var service = new X10AgentService())
     {
         service.Run();
         Console.WriteLine("Press any key to shutdown.");
         Console.ReadKey();
     }
 }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     using (var service = new X10AgentService())
     {
         service.Run();
         Console.WriteLine("Press any key to shutdown.");
         Console.ReadKey();
     }
 }