pictureBox1.Image = frame.ToBitmap(); MemoryStream ms = new MemoryStream(); frame.Bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg); bytes = ms.ToArray(); acc.Send(bytes, 0, bytes.Length, 0);
Save(stream, format)
File.WriteAllBytes(String, Byte[])
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)