title: How to Run windows 8 camera api from c#
body: <p>I'm trying to use webcam to take picture via c#</p>
  <p>previously I used some libraries to do that like;</p>
  <ul>
  <li><a href="https://sites.google.com/site/webcamlibrarydotnet/winfrom-and-csharp-sample-code-and-download" rel="nofollow noreferrer">webcamlibrarydotnet</a></li>
  <li><a href="http://sourceforge.net/projects/directshownet/files/DirectShowSamples/2010-February/" rel="nofollow noreferrer">directshownet</a></li>
  <li><a href="http://www.codeproject.com/Articles/125478/Versatile-WebCam-C-library" rel="nofollow noreferrer">Versatile-WebCam-C-library</a></li>
  <li><a href="http://www.codeproject.com/Articles/489432/Webcam-in-Csharp-Easiest-Way-to-Capture-Images-fro" rel="nofollow noreferrer">Webcam-in-Csharp-Easiest-Way-to-Capture-Images-fro</a></li>
  <li><a href="https://code.google.com/p/aforge/" rel="nofollow noreferrer">aforge</a></li>
  </ul>
  <p>I faced a problem that when I used default win 8(by the way my operation system is win 8) camera application's maximum photo quality was 8px (3264 x 2468); but using above libraries I programaticaly searched for available snapshot qualities, the maximum size was below 2px. I have no idea how win 8 default camera app makes such a big difference. Therefore I decided to use the default windows 8 camera application.</p>
  <p><em><strong>Problem</strong></em> I googled for solution but not could find any idea about how to programaticaly run win 8 camera app from c#. (Just like mobile phones open camera application: take photo, close cam application, then coppy picture from its location into your application directory) Can anyone help please?</p>