I want to create a bandwidth meter for Windows using vb.net, but I cannot seem to find anything in the .net framework for monitoring the amount of data in or out. I want to create this because I cannot find a good one for free, and I think it is something that people might want.
If there is nothing in the .net framework for monitoring this, is there some P/Invoke calls I can make? If so, what are they?
Is this project feasible? I want to try and measure the exact amount of data in and out, from ALL programs and connections if possible.
Thank you for the help!
EDIT: To clarify, while I doubt that there will be something simple like My.Computer.Network.IO
or something like that, I don't really want to make this too complex.
EDIT AGAIN: Perhaps this would be too complicated. If I simply wanted to monitor http activity on port 80, how could I do this without actually disturbing the data?