/// <summary> /// Construct a TimedStream /// </summary> /// <param name="baseStream"> Undelying stream</param> public TimedStream(Stream baseStream) { this.baseStream = baseStream; timeout = System.Threading.Timeout.Infinite; isClosed = false; stopwatch = new LowResolutionStopwatch(); }
public static LowResolutionStopwatch StartNew() { LowResolutionStopwatch sw = new LowResolutionStopwatch(); sw.Start(); return sw; }