ChangeIP.MainWindow.ChangeDns C# (CSharp) Method

ChangeDns() private method

private ChangeDns ( ) : bool
return bool
        private bool ChangeDns()
        {
            SetIpAddress setIp = new SetIpAddress();
            if ((isInputIpOk(this.mainDns, rexType.ipAddr)) && (isInputIpOk(this.subDns, rexType.ipAddr)))
            {
                setIp.setDns(this.mainDns, this.subDns);
                return true;
            }
            else
                return false;
        }