Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect internet traffic idle state using C#

Tags:

c#

asp.net

I am creating a web parsing application, to download some video files from user provided url, when the internet connection is idle.

How to detect idle state of the internet connection using dotnet framework C#?

like image 946
Abhijeet Avatar asked Nov 16 '25 17:11

Abhijeet


1 Answers

Instead of checking for idle connection you could use BITS via the SharpBITS.NET wrapper.

like image 85
Albin Sunnanbo Avatar answered Nov 19 '25 06:11

Albin Sunnanbo