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