public void Dispose()
 {
     syncEvent3.Dispose();
     syncEvent2.Dispose();
     syncEvent1.Dispose();
     buffer.Dispose();
 }
 public void Dispose()
 {
     buffer.Dispose();
 }