Ejemplo n.º 1
0
        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));
        }