
Many times I needed write an array bytes in a file, the following method is most simple:
-
using (System.IO.Stream s = System.IO.File.Create(@"c:\filename"))
-
{
-
s.Write(Bytes, 0, Bytes.Length);
-
}
-
source code:
How to Write Bytes[] To File (135)
















