CmisSync.Lib.Streams.BandwidthNotifyingStream.Close C# (CSharp) Method

Close() public method

Close this instance and calculates the bandwidth of the last second.
public Close ( ) : void
return void
        public override void Close() {
            this.BitsPerSecond = CalcBitsPerSecond(this.start, DateTime.Now.AddMilliseconds(1), this.bytesTransmittedSinceLastSecond);
            this.blockingDetectionTimer.Stop();
            base.Close();
        }