//to pull required drivers from repository public bool receiveFiles(List <string> files) { CommChannelDemo.Sender clnt = new CommChannelDemo.Sender(); CommChannelDemo.Sender.channel = CommChannelDemo.Sender.CreateServiceChannel("http://localhost:8000/StreamService"); foreach (string file in files) { Console.Write("\n Receiving \"{0}\" to \"{1}\" using WCF", file, Path.GetFullPath(testPath)); try { int temp = clnt.download(file, testPath); } catch (Exception ex) { Console.WriteLine("\n\n {0}", ex.ToString()); return(false); } } return(true); }