title: WinRT C# Take photo without dialog
body: <p>If i want take photo in WinRT, i need call this code:</p>
  
  <pre><code>        var ui = new CameraCaptureUI();
          ui.PhotoSettings.CroppedAspectRatio = new Size(4, 3);
  
          var file = await ui.CaptureFileAsync(CameraCaptureUIMode.Photo);
  
          if (file != null)
          {
              IRandomAccessStream fileStream = await file.OpenAsync(Windows.Storage.FileAccessMode.Read);
              var bitmap = new BitmapImage();
              bitmap.SetSource(fileStream);
              Photo.Source = bitmap;
          }
  </code></pre>
  
  <p>But, i want to take photo automatically, for ex. every 1 minute. So, it's impossible every minute take photo through dialog. Can I take photo program, as it is ?</p>