How to determine which network adapter is connected to the internet

后端 未结 6 956
死守一世寂寞
死守一世寂寞 2020-12-20 20:23

I\'m writing a program in C# that needs to monitor the amount of internet bandwidth currently in use so it can do a background upload when the internet usage is low. How ca

6条回答
  •  心在旅途
    2020-12-20 20:56

    See here for a similar question on how to monitor the bandwidth used, in VB.NET, but the philosophy is the same! Here is another question that is the fastest way of checking for internet connection.

    Hope this helps, Best regards, Tom.

提交回复
热议问题