How to Update COM1 port default settings(baud rate,parity) C#
<p>I am using Windows XP Professional edition.</p>

<p>As my project requirement i want to update COM1 port default settings to my customized settings.</p>

<p>My Computer -> Manage -> Device Manager -> Ports -> Communications Port -> Port Settings -></p>

<p>default settings are,</p>

<ol>
<li>Baud Rate  ===  9600 </li>
<li>databits   ===  8  </li>
<li>parity     ==   none </li>
<li>stop bit    ==   1</li>
</ol>

<p>I want to change the above settings to</p>

<ol>
<li>Baud Rate  ===  2400</li>
<li>databits   ===  7</li>
<li>parity     ==   even</li>
<li>stop bit    ==   2</li>
</ol>

<p>(what ever i am changing here in code should reflect in device manger ->port settings</p>

<p>Thanks in  advance</p>
