c# - How to check for internet connection? -
i know can check network connectivity, can't seem find way check if there internet available, short of ping. know of few use cases user connected local wlan doesn't have access internet, , prefer avoid timeout on request.
short of pinging, take rather long time complete depending on network connectivity, there way explicitly test internet?
you can try ....
var asd = networkinterface.getinternetinterface();
i hope might ...
Comments
Post a Comment