title: Use BeginOutputReadLine when the process output newline or return
body: <p>I used Process() to execute a external file named "test.exe".</p>
  
  <p>The "test.exe" only prints a string. 
  "abc \n \r xyz\n"</p>
  
  <p>My goal is to get the string and turn each byte to corresponding ASCII code.</p>
  
  <p>That is, I expect the outputs in my c# console are as below,
  97 98 99 32 10 32 13 32 120 121 122 10</p>
  
  <p>But when I used BeginOutputReadLine to get the output of test.exe, \n and \r were striped.</p>
  
  <p>As a result, I only got 
  97 98 99 32 32 32 120 121 122</p>
  
  <p>Finally, I don't want to use synchronized ways like Read, ReadLine, and ReadToEnd.
  Is there any way to get what I want??</p>
  
  <h2>Thanks!</h2>
  
  <p>Actually, I create a backgroundWorker to deal with external process test.exe
  I have a proc_DataReceived and backgroundWorker_Build_ProgressChanged...</p>
  
  <p>the related code as below<br />
  <a href="http://codepad.org/Gmq1XqXb" rel="nofollow">http://codepad.org/Gmq1XqXb</a>
  <br />all code as below<br />
  <a href="http://codepad.org/k7VpWynu" rel="nofollow">http://codepad.org/k7VpWynu</a></p>
  
  <p>(I'm new to stackoverflow. I pasted my code in codepad.org before finding out how to format code here.)</p>