How get fingerprint from sensor and show it in picturebox in c#?

I get a byte array from sensor but I can't displayed it in picturebox.

4th Dec 2016, 8:23 PM
Majid Ghandeharipour
Majid Ghandeharipour - avatar
1 Answer
+ 2
Check this function, it's makes the array to a bitmap, wich can be used for the picturebox image atributte. public static Bitmap ByteToImage(byte[] blob) { MemoryStream mStream = new MemoryStream(); byte[] pData = blob; mStream.Write(pData, 0, Convert.ToInt32(pData.Length)); Bitmap bm = new Bitmap(mStream, false); mStream.Dispose(); return bm; }
4th Dec 2016, 9:35 PM
Nahuel - avatar