title: Is there a way to use a serial port at 2-3 mbps?
body: <p>I need to stream serial data to and from a C# Windows PC application at 2-3 mbps. C# winforms doesn't seem very happy with it.</p>
  
  <pre><code>openFileDialog.Filter =
      @"Image Files(*.bmp;*.jpg;*.jpeg;*.gif)|*.bmp;*.jpg;*.jpeg;*.gif|All files (*.*)|*.*";
  if (openFileDialog.ShowDialog() != DialogResult.OK) return;
  var image = Image.FromFile(openFileDialog.FileName);
  serialPort1.Open();
  // Now send the image at 2-3 mbps
  ...
  </code></pre>
  
  <p>BaudRate = 115200 works. BaudRate = 230400 causes System.IO.IOException.</p>
  
  <p><img src="https://i.stack.imgur.com/fx7iL.jpg" alt="enter image description here"></p>