
Molte volte avevo bisogno di scrivere un array di byte in un file, il seguente metodo è più semplice:
-
using (System.IO.Stream s = System.IO.File.Create(@"c:\filename"))
-
{
-
s.Write(downloadBytes, 0, downloadBytes.Length);
-
}
source code:
How to Write Bytes[] To File (136)

















Related Articles
1 user responded in this post
thanks, Ill make sure to remember it this time ………… or ill just bookmark this page
Leave A Reply