Guest Berze P. Posted November 23, 2007 Posted November 23, 2007 I have writen a small application for a cybercafe to calculate the time spent on the PC by clients. Simply put, they dbl click a Login icon on desktop, and the time is recorded and then when they logout (another icon) the end time is recorded and the amount to pay is calculated according to time x rate/time. This is all ok, BUT now the ISP charges me according to downloaded bytes and not time -- So, I need to know the bytes transferred (upload + download) by the PC to the internet so that can be charged accordingly. Eg. Network Neighborhood Properties tells us the bytes transferred, but I want to capture those numbers programatically. Any help appreciated. PS I got hold of the net stats workstation command but it seems to update the figures after some delay. ie I run the cammand and I get the figures. I start browsing for a few minutes and reissue the command, I will get the old figures only. After a delay of 8 to 10 minutes if I check again I get the updated figures. I Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.