Detail this asset from Unity Asset Store: https://assetstore.unity.com/packages/tools/network/internet-checker-72486
But now you can download Internet Checker FREE.
Simple API to check internet on any platform.
Check device is connected to wifi or data connection or no internet connection.
With example scene.
unityassetcollection.com – Get all paid Unity Asset for free