title: Serial communication write
body: <p>I have written a simple c# app having functionality of serial 
  communication. I am using it to read and write to a device. The device 
  recognizes <em>string commands</em>. I am successfuly able to read from device 
  using this app. But peoblem is in writing(sending) commands to device.
  I am simply using </p>
  
  <pre><code>if (serialPort.IsOpen == true)
  {
  serialPort.Write("Command1");
  }
  </code></pre>
  
  <p>But my device does not respondes to it.</p>
  
  <p><strong>To check,</strong> I tried sending same command using hyperterminal to my
  device and my device recognizes it and works perfectly. </p>
  
  <p>Can anybody guide me whats the accurate way to write or what 
  needs to be make sure for writing to serial port in c#. Is this encoding issue...
  (Serial Read using this same app is working pretty fine !!)
  Thank you for your time.</p>
  
  <p>Moreover, there is no exception or error and in debug mode
  this line executes. </p>