Jump to content

net stats workstation command


Recommended Posts

Guest Berze P.
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...