calculate data transfer download+uploaded data
<p>I want to calculate the total data download and upload in a particular interval of time, and store it to a database so that it can be viewed later on. Thus, this particular user logged in at this time and downloaded and uploaded this much data.</p>

<p>I want to do this in C#.</p>
