In my app I’m using webservices and if internet connection is true, my app runs very good.
Without internet my application generates an error. So how can I check internet connection before my application is connected to services. Because I cannot work with applications tuogn although I did
try {}
catch {}
So, my app is errors in servicesReferent. How do I do if the case does not have an internet connection, or faulty services?
You can use GetIsNetworkAvailable in the NetworkInterface class from the System.Net.NetworkInformation namespace
for example