title: How to retrieve a string in a C# Key(*)Event that was inserted by scan? (Windows CE 5)
body: <p>I am working on a Win CE 5 application that captures data scanned via barcode scanner. The application should support some "system-barcodes", predefinded barcodes that trigger functions of the application.</p>
  
  <p>Those barcodes have to work in the whole main-frame. So I set the property "KeyPreview" of the main-frame to true and registered an KeyEventHandler on the KeyDown event of the main-frame.</p>
  
  <p>My problem is, I couldn't figure out how to get the full scanned string. The string is 12 characters long and ends with a newline.
  Is there a possibility to get the whole string in the EventHandler?</p>
  
  <p>Thank you in advance for any help.</p>