internal int GetDownloadRate()
{
if (_lastMeasuredDownloadRate > 0)
{
return _lastMeasuredDownloadRate;
}
// assume that his upload rate will match his estimated download rate, and
// get the estimated active set size
var estimatedDownloadRate = EstimatedDownloadRate;
var activeSetSize = GetActiveSetSize(estimatedDownloadRate);
return estimatedDownloadRate/activeSetSize;
}