Example #1
0
 public void DiscardInBuffer()
 {
     if (!isOpen)
     {
         throw new InvalidOperationException("DiscardInBuffer - port not open");
     }
     internalSerialStream.DiscardInBuffer();
 }