Is there a work around for loading a BitmapImage from a MemoryStream, given that SetSource does not seem to be supported yet?
Code: Select all
void proxy_GetImageCompleted(object sender, GetImageCompletedEventArgs e)
byte byteArray = e.Result.Image;
using (MemoryStream stream = new MemoryStream(byteArray, 0, byteArray.Length))
BitmapImage b = new BitmapImage();
imageControl.Source = b;
Users browsing this forum: Bing [Bot] and 1 guest