Hi,
I'm developing a desktop C# app for my laptop for when I'm on a mobile connection that will alert me when I'm nearing a certain download limit (as my supplier charges per data usage and I've gone over my limit a couple of times recently).
I'm aware that there's a few different ways to monitor amount of data downloaded via a network connection, but I've heard mixed opinions regarding which is best to use. I need something fairly accurate and preferably one that allows you to specify a particular network adapter, so it'll ignore Ethernet or WiFi connections for instance.
Could someone suggest a reliable way to monitor how much data has been downloaded from the web in C# please?
P.S: I'm sure there's apps available online for this already, but I like to make my own utility apps. I figure it's the best way to learn :-).
Measuring Amount of Web Traffic
Started by uberlax, Aug 25 2009 05:06 AM
3 replies to this topic
#1
Posted 25 August 2009 - 05:06 AM
|
|
|
#2
Guest_Jordan_*
Posted 25 August 2009 - 06:11 AM
Guest_Jordan_*
It sounds like a great project but there are two things:
1) There is already free software about that will do this. Here is one made in C#: FreeMeter Bandwidth Monitor For Windows | Get FreeMeter Bandwidth Monitor For Windows at SourceForge.net
2) A better way, if possible, would be to connect to the mobile provider site and fetch what they claim you have used. They may record bandwidth usage differently (IE: they may only record HTTP and FTP but not SSH, for instance, why - I dunno). Do they provide a method for you to view usage amount?
1) There is already free software about that will do this. Here is one made in C#: FreeMeter Bandwidth Monitor For Windows | Get FreeMeter Bandwidth Monitor For Windows at SourceForge.net
2) A better way, if possible, would be to connect to the mobile provider site and fetch what they claim you have used. They may record bandwidth usage differently (IE: they may only record HTTP and FTP but not SSH, for instance, why - I dunno). Do they provide a method for you to view usage amount?
#3
Posted 25 August 2009 - 06:24 AM
Jordan, I've just taken a look at FreeMeter and it looks like an ideal starting point. I feel a tad dumb for not searching SourceForge before posting...Google searches returned closed-source commercial apps.
Re: the provider API/usage method, I think that the business contracts might provide an SDK but I'm just on a private use pay monthly deal, so couldn't find anything.
Thanks very much for your help!
Re: the provider API/usage method, I think that the business contracts might provide an SDK but I'm just on a private use pay monthly deal, so couldn't find anything.
Thanks very much for your help!
#4
Posted 30 August 2009 - 11:11 PM
If FreeMeter is too controls-filled for you (as is for me) then you could as well try NetLimiter Monitor. There are versions for limiting bandwith per program, and detailed statistics. I used it some years ago and I was content. I think I will myself tryout Jordan's one, too. :)


proudly presenting my personal website and game website: F1Simulation. a thrilling Managed DirectX racing game... also my Ask Me
look at my tutorials about cropping images and Mono: bundling Mono with programs and lambda expressions
look at my tutorials about cropping images and Mono: bundling Mono with programs and lambda expressions


Sign In
Create Account


Back to top









