private void ResetPeriod() { // reset the period _periodStart = Environment.TickCount; _bytesThisPeriod = 0; }