Is there a way in Win App to do a check whether internet is available before connecting to Webservices?
Is there a way in Win App to do a check whether internet is available before connecting to Webservices?
You can check by two ways..
1. One thing is make HttpWebRequest to a Web page and check the response and try
2. Use thepropertyCode:My.Computer.Network.IsAvailable