Reputation: 566
I have to use an internet proxy server when I connect to a wifi network in a certain location, and then undo in when I connect it at home. I want to create a program to automate this. How can I detect if there are any proxy servers in LAN offering internet, and whether internet is available at the moment through (by pinging or something) using C# or VB.NET; so that I can create a tool for this. Thank you.
Upvotes: 0
Views: 888
Reputation: 9794
Do you want to write an application for this, or using already written applications is enough?
I had same problem years ago, with my laptop when I go to customers I needed to change network configuration to use their proxy servers, and at home again I was switching to normal.
There are many free applications that you can save different configurations.
http://www.netsetman.com/index.php?s=nsm
Upvotes: 2