NoIP.org Integration

This commit is contained in:
Abdullah Saleem 2015-05-10 20:38:08 +05:00
parent 5f83df91e5
commit 4f8bd1b431
2 changed files with 4 additions and 4 deletions

View File

@ -303,9 +303,9 @@ public void StartNoIpItegrator()
updateThread.Start(); updateThread.Start();
} }
private void NoIpUdater() public void NoIpUdater()
{ {
while (true) while (XMLSettings.IntegrateNoIP)
{ {
try try
{ {

View File

@ -101,10 +101,10 @@ private void btnSave_Click(object sender, EventArgs e)
XMLSettings.NoIPHost = txtNoIPHost.Text; XMLSettings.NoIPHost = txtNoIPHost.Text;
XMLSettings.WriteValue("NoIPUsername", txtNoIPUser.Text); XMLSettings.WriteValue("NoIPUsername", txtNoIPUser.Text);
XMLSettings.NoIPHost = txtNoIPUser.Text; XMLSettings.NoIPUsername = txtNoIPUser.Text;
XMLSettings.WriteValue("NoIPPassword", txtNoIPPass.Text); XMLSettings.WriteValue("NoIPPassword", txtNoIPPass.Text);
XMLSettings.NoIPHost = txtNoIPPass.Text; XMLSettings.NoIPPassword = txtNoIPPass.Text;
} }
this.Close(); this.Close();