I use C#, wpf. I have an image, it is stored in the form of: byte[ ]
public interface IFile
{
int Id { get; set; }
byte[] FileData { get; set; }
string FileName { get; set; }
int? FileSize { get; set; }
string FileExtension { get; set; }
}
How can I display my image (FileData byte[ ]) on the form?
<GroupBox BorderThickness="1">
<Image Source="..."/>
</GroupBox>
I have to write in Source="..."
, if I create a temporary file from a byte[ ]?