static void Main(string[] args)
        {
            Console.Title = "Client1";
            IPHostEntry host1;
            string localIP = "?";
            host1 = Dns.GetHostEntry(Dns.GetHostName());
            foreach (IPAddress ip in host1.AddressList)
            {
                if (ip.AddressFamily.ToString() == "InterNetwork")
                {
                    localIP = ip.ToString();
                }
            }
            string address = "http://" + localIP + ":8002/MessageService";
            Console.Write("Local: {0}\n", localIP);
            Console.Write("Starting Message Service on Client");

            ServiceHost host = CreateServiceChannel(address);
            host.Open();

            string dst1 = "http://localhost:9001/MessageService";
            Sender snd = new Sender();
            
            snd.sendRequestForprojectList(dst1);
            snd.sendRequestForAnalysis("D:\\SMA\\Project4\\Server1\\TESTFOLDER\\Directory1",dst1);  
         
            Console.Write("\n  press key to terminate service");
            Console.ReadKey();
            Console.Write("\n");
        }