开发者

how to detect internet idle time?

开发者 https://www.devze.com 2023-01-02 19:18 出处:网络
how do i detect internet idle time(time since i used internet) using delphi something like: begin { idle time detection code goes here}

how do i detect internet idle time(time since i used internet) using delphi something like:

begin
{ idle time detection code goes here}
showmessage('you have not browsed an开发者_运维问答y websites or downloaded/uploaded 
for over xyz seconds');
end;

thanks in advance


Internet idle time, or network idle time? For network you can periodically check outgoing packets and reset the idle time variable.


Define internet idle time.
Then try WMI, for instance by checking your NIC info using WMI.

0

精彩评论

暂无评论...
验证码 换一张
取 消