Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo n.º 5
0
 private void InitNetwork()
 {
     var ipAddress = ReadIpAddressCsv();
     var port = Properties.Resources.PortNumber;
     this.bodySender = new BodySender(ipAddress, port);
 }