Example #1
0
        void FindMyIP()
        {
            MyIPAddress my = new MyIPAddress();

            myip = my.Find();
            ApplicationTitle.Text += myip.ToString();
            localEp = new IPEndPoint(myip, 4001);
        }
Example #2
0
 void FindMyIP()
 {
     MyIPAddress my = new MyIPAddress();
     myip = my.Find();
     ApplicationTitle.Text += myip.ToString();
     localEp = new IPEndPoint(myip, 4001);
 }