How to check internet is connected or not and display message

How to check if internet is connected or not. If no internet connection i want to display a message “No Internet Connection”.

I was looking for network component that checks if internet is connected or not.

*this below image is from another app creator.

Is there any component or extension for Niotron there is an extension on that website

Net Extension by vknow360 to get some information about network

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.