i hate the windows NT system monitor, so i want to make my own.

the first thing i would like to monitor is network usage.

is there an api that gives the bytes received per second(or less) through the network card?