Bitmap to Picturebox
This question is related to This question. At the end, user does something like
Bitmap bmp = (Bitmap)Bitmap.FromStream(new MemoryStream(buffer,0,total));
Now, I want to display this image in PictureBox. So, what should be at the place of ??? below
pictureBox1.Image = ???
pictureBox1.Image = bmp;
That bmp is the image (Bitmap inhereits from Image) so you shouldn't need to do anything special.