65.9K
CodeProject is changing. Read more.
Home

Keeping an eye on the RAS-connections

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.33/5 (8 votes)

Jun 5, 2002

viewsIcon

53900

downloadIcon

1085

Logs the usage of RAS-connection to an access-database

Sample Image - dialupwatch.jpg

Introduction

I think I'm not the only one who's still stuck with a lousy dial-up connection. And since a dial-up means using the phoneline to connect to the Internet, this also means a surprise every now and then when the phonebill shows up. So to avoid this surprise, I browsed codeproject for some code and I found some useful classes.

What I found were the following:

These classes along with my excellent coding :-) resulted in a tool I needed.

Details

So I took these classes and used them in a program that logs the usage into a Access-database. The code is quite easy and straight forward and I've tried to add some comments here and there. I'm sure this program can be improved. Although I've tested the program (I'm using it at home and my wife is surfing quite alot :-) ), there might though be some hidden bugs. Anyhow, I hope this can be of some use.