Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     var host = new ServiceHost(service, new Uri[] { });
     host.Open();
     Console.WriteLine("Service started");
     while (Console.ReadKey().Key != ConsoleKey.F1) ;
 }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     //var host = new ServiceHost(service, new Uri[] { });
     //host.Open();
 }
Ejemplo n.º 3
0
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     //var host = new ServiceHost(service, new Uri[] { });
     //host.Open();
 }