private static void AppendData(string filename, byte[] Data) { using (var fileStream = new FileStream(filename, FileMode.Append, FileAccess.Write, FileShare.None)) using (var bw = new BinaryWriter(fileStream)) { bw.Write(Data); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)