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.
精彩评论