M
Matt Hawley
I'm facing a problem where I need to verify that my windows forms application has access to the internet before it can do anything. Currently, the only way I can think of is by creating a HttpWebRequest and point it to the specified URL I wish to connect to later on, and if that throws an error, I know I don't have an internet connection. Is this the best method for detecting an internet connection, or is there some sort of routine that I need to follow that is more tuned for performance?
Thanks for your help!
Matt Hawley, MCAD .NET
http://www.eworldui.net
Thanks for your help!
Matt Hawley, MCAD .NET
http://www.eworldui.net