title: How to receive more messages from Serial Port c#
body: <p>I am using <code>System.IO.Ports</code>.
  I send messages to device and want to wait for all messages from it.</p>
  
  <p>I am trying do it like this:</p>
  
  <pre><code>message = Console.ReadLine();
  _serialPort.Write(message);
  Console.WriteLine(_serialPort.ReadExisting());
  </code></pre>
  
  <p>But it returns only the first line. 
  I have tried using <code>port.BytesToRead</code>, but I get the same results.
  When I use <code>ReadLine()</code> it doesn't return anything.</p>
  
  <p>Edit:</p>
  
  <p>To see all line use Event handler.</p>
  
  <p>Solution for my problem is use \r (enter) on the end line.</p>