示例#1
0
        static IPAddress LocalIPInput()
        {
            IPAddress ip = null;

            Gui.LocalInterfaceInput input = new Gui.LocalInterfaceInput();

            if (input.ShowDialog() == DialogResult.OK)
            {
                ip = input.GetSelectedIP();
            }
            input.Dispose();
            return(ip);
        }
示例#2
0
        static IPAddress LocalIPInput()
        {
            IPAddress ip = null;
            Gui.LocalInterfaceInput input = new Gui.LocalInterfaceInput();

            if (input.ShowDialog() == DialogResult.OK)
            {
                ip = input.GetSelectedIP();
            }
            input.Dispose();
            return ip;
        }