Jump to content

Measuring Amount of Web Traffic

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
uberlax

uberlax

    Newbie

  • Members
  • PipPip
  • 12 posts
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 :-).

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
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?

#3
uberlax

uberlax

    Newbie

  • Members
  • PipPip
  • 12 posts
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!

#4
ArekBulski

ArekBulski

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,376 posts
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. :)


Posted Image
Posted Image