我想通过我的c#代码在Windows Photo Viewer中打开存储在数据库中的图像文件。我知道如何在图像文件路径已知时打开图像文件
System.Diagnostics.Process.Start(" C:\ image.png&#34)
但我不想在本地保存图片。如果我有ImageSource,有没有办法在Windows Photo Viewer中显示图像?
ImageSource image = new ImageSourceConverter()。ConvertFrom(imageByteArray)as ImageSource;