private async void ImgBtn_Click(object sender, RoutedEventArgs e) { StorageFile sf = await Photo.CaptureAsync(); if (sf == null) { return; } Img.Source = await Photo.FromBase64(await Photo.ToBase64(sf)); }
private async void ImgBtn_Click(object sender, RoutedEventArgs e) { StorageFile sf = await Photo.CaptureAsync(); if (sf == null) { return; } Img.Source = await Photo.FromBase64(await Photo.ToBase64(sf)); }