Esempio n. 1
0
        private void InitNetwork()
        {
            var ipAddress = ReadIpAddressCsv();
            var port      = Properties.Resources.PortNumber;

            this.bodySender = new BodySender(ipAddress, port);
        }
        private void InitNetwork()
        {
            //read from XML file on desktop?!?

            string ipAddress = "127.0.0.1";
            string port      = "12345";


            //var ipAddress = Properties.Resources.IPAddress;
            //var port = Properties.Resources.PortNumber;
            this.bodySender = new BodySender(ipAddress, port);
        }
Esempio n. 3
0
        private void InitNetwork()
        {
            //read from XML file on desktop?!?

            System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
            doc.Load("c:\\Users\\Interbrand2015\\Desktop\\ipaddress.xml");
            System.Xml.XmlNode node      = doc.DocumentElement.SelectSingleNode("/ipaddress");
            string             ipAddress = node.InnerText;
            string             port      = "12345";


            //var ipAddress = Properties.Resources.IPAddress;
            //var port = Properties.Resources.PortNumber;
            this.bodySender = new BodySender(ipAddress, port);
        }
Esempio n. 4
0
        private void InitNetwork()
        {
            //read from XML file on desktop?!?

            string ipAddress = "127.0.0.1";
            string port = "12345";

            //var ipAddress = Properties.Resources.IPAddress;
            //var port = Properties.Resources.PortNumber;
            this.bodySender = new BodySender(ipAddress, port);
        }
Esempio n. 5
0
 private void InitNetwork()
 {
     var ipAddress = ReadIpAddressCsv();
     var port = Properties.Resources.PortNumber;
     this.bodySender = new BodySender(ipAddress, port);
 }