public void Add(Connection con) { lock (conLock) { con.SetThrottle(this); cons.Add(con); } if (Active) { if (ThrottlesDownload) AdjustReceiveBuffer(); if (ThrottlesUpload) AdjustSendBuffer(); } }