Monitor the internet connection simultaneously


#1

Hi all,

I have created a automation which is interacting the with different web applications. I have also created a workflow to check the internet connection. But my problem is parallel activity is not actually executing the both workflow simultaneously.
I want to regularly check the internet connection while automation is running and stop the automation if there any network issue comes.

Do anyone how can do this in Uipath?


#2

@AMAN_GUPTA Try below statement it return whether ur system is connected to internet or not.

System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable().ToString