How do I detect a connection is present to an URL or not?
I have an application in VB.NET which has feature of determining whether a network connection is present or not.The application has certain links to other applications (in form of icons) that are present in other intranets. If network is detected it will enable the icons.
Now, I have an extra feature to add. The icons will be enabled only when network connection is present as well as I am connected to the Intranet. If I logout of the Intranet, the Icons relevant to the particular Intranet will be disabled even though I have a connection present(determined from Network Adapter)
So, is there a way to determine whether my application is connected to a particular Intranet or IP Address(supplying URL) ? I am trying to useHttpWebRequest and HttpWebResponse class for the purpose but have not succeded as yet..
Thanks in advance
Deb

