Get Windows 7's network status

后端 未结 2 2026
青春惊慌失措
青春惊慌失措 2021-02-04 11:37

In Windows 7 whenever the internet access gets lost, the network indicator turns yellow. I want to get this status in my software and set an alarm whenever the internet connecti

2条回答
  •  我在风中等你
    2021-02-04 12:23

    You could modify the network libary you found. Just look at the Network Interface Class. OperationalStatus can be more that up and down :)

提交回复
热议问题