It's possible to measure the amount of bandwidth your program uses, but Idon't think you can measure it for other programs without native code. C++would probably be easier.