title: How save photo capture windows 8 c# metro app?
body: <p>I looked everywhere but can't find how save my photo after I captured it. I use windows 8 media capture, and after I capture it, I show it on my page. But don't know how to save it to a particular place.</p>
  
  <p>This is how I take the photo, pretty classic:  </p>
  
  <pre><code>    private async void Camera_Clicked(object sender, TappedRoutedEventArgs e)
      {
          TurnOffPanels();
  
          CameraCaptureUI camera = new CameraCaptureUI();
          camera.PhotoSettings.CroppedAspectRatio = new Size(16, 9);
          StorageFile photo = await camera.CaptureFileAsync(CameraCaptureUIMode.Photo);
  
          if (photo != null)
          {
              BitmapImage bmp = new BitmapImage();
              IRandomAccessStream stream = await photo.OpenAsync(FileAccessMode.Read);
              bmp.SetSource(stream);
              ImageSource.Source = bmp;
              ImageSource.Visibility = Visibility.Visible;
  
              appSettings[photoKey] = photo.Path;
          }
      }
  </code></pre>
  
  <p>And this is how I reload it after I've taken it :</p>
  
  <pre><code>    private async Task ReloadPhoto(String photoPath)
      {
              StorageFile photo = await StorageFile.GetFileFromPathAsync(photoPath);
              BitmapImage bmp = new BitmapImage();
              using (IRandomAccessStream stream = await photo.OpenAsync(FileAccessMode.Read))
              {
                  bmp.SetSource(stream);
              }
  
      }
  </code></pre>
  
  <p>Does anyone have an idea how to save the photo?</p>
  
  <p>Regards.</p>