Unfortunately, it is not possible to check the Internet connection with the emulator.
You need to test it from the device ...
The function "NetworkInterface.GetIsNetworkAvailable ()" checks if the smartphone is connected to the Internet. However, this function will always return true from the emulator.
source share