Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I learn which network interface is active?

In our job we are changing our client's dns and Ip adresses by using Teamviewer.
Sometimes theirs Internet connection get an error. Our connection has lost.
They can't fix their dns settings. Like choosing. "Obtain Ip adress automatically."

I want to do it with program. And if connection lost. I want to create restore point. Customer will click this button to reset IP and dns


Sometimes[^]
Posted
Updated 11-Jul-18 23:21pm
v2
Comments
OriginalGriff 3-Dec-15 2:55am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
amagitech 3-Dec-15 3:41am    
I changed my question

1 solution

Is is something like this you are looking for?

How to set Dns Server Address of a Pc[^]
 
Share this answer
 
Comments
amagitech 3-Dec-15 6:00am    
I can't use your program. But thanx. I solved my problem via using cmd commands from this website http://blog.shiraj.com/2012/10/netsh-command-to-change-from-static-ip-address-to-dhcp/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900