S
semedao
Hi,
I have problem to determine that I don't have any internet connection when I
have Lan Nic available that is connected to other computer and not to the
internet.
I am using the NetworkInterface.GetIsNetworkAvailable Method and then the
NetworkInterface.GetAllNetworkInterfaces Method
but it is not good enough for this situation.
my question is if the only solution will be to make some ping / connect to
server that must run all the time , and in case of exception to understand
that I don't have internet connection , or , there is some other better
method to do it ?
Thanks
I have problem to determine that I don't have any internet connection when I
have Lan Nic available that is connected to other computer and not to the
internet.
I am using the NetworkInterface.GetIsNetworkAvailable Method and then the
NetworkInterface.GetAllNetworkInterfaces Method
but it is not good enough for this situation.
my question is if the only solution will be to make some ping / connect to
server that must run all the time , and in case of exception to understand
that I don't have internet connection , or , there is some other better
method to do it ?
Thanks