Click here to Skip to main content
15,890,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I'm wondering what is the best way to monitor the number of bytes downloaded on a computer and to disable the computer's network connection once a predetermined limit has been reached. Any thoughts on the best way to go about this would be most appreciated.

The method I've come up with so far is to use a Windows performance counter to retrieve the downloaded bytes, keep a running total and then to programmatically stop the dhcp service thus disconnecting the network connection once the limit has been reached.

Obviously this wouldn't take much to circumvent, however, this app will be installed on my daughter's pc; and she isn't too savvy with the inner workings of Windows and networks.
Posted

1 solution

I'm not sure the best way to go about this is as you suggest. How old is your daughter?

I've helped a couple relatives get going with Cybersitter[^]. It does the trick pretty good.

It also allow for things like "Googling is always okay", or, "no access after 10pm". It records chat messages as well.

In our house we use Windows Live Essentials, which includes the family safety settings. This is nice because my kids can request access to sites via email to me, or in person. It's also free, works on XP, Vista and 7, and you can protect all computers in the house with the same set of rules.

From a programming perspective, what you mention above should work (with the same caveat you mention of easy circumvention).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900