title: QR Scan on Windows Phone 8
body: <p>I've been trying for some time to find a decent tutorial on how to can QR codes with Windows Phone 8. Unfortunately all of them, (at least those I found, which was a big load), were meant for WP7 and didn't work.</p>
  
  <p>Some of them required a <code>PhotoLuminance</code> object, which is not available within the ZXing.net library. </p>
  
  <p>I think my biggest problem is that I don't know how to retrieve the ImageStream from the camera, on the go and then scan it every second or so. </p>
  
  <p>I need something that is fluent, without having to start a cameratask :).</p>
  
  <p>Right now, I'm capturing the image to a rectangle using the VideoBrush component, so retrieving data from the camera is working. </p>
  
  <pre><code>camera = new PhotoCamera(CameraType.Primary);
  viewfinderBrush.SetSource(camera);
  </code></pre>
  
  <p>I'm using this as a last resort, I really hope someone has a sample code out there or an idea on how I should approach this</p>