Пример #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) ;
 }
Пример #2
0
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     //var host = new ServiceHost(service, new Uri[] { });
     //host.Open();
 }
Пример #3
0
 static void Main(string[] args)
 {
     FileCollectorService service = new FileCollectorService();
     //var host = new ServiceHost(service, new Uri[] { });
     //host.Open();
 }