Line 142 of the client calls File.OpenWrite() which can write to an existing file if it exists, which could cause garbage data to remain appended to the end of the file if the file written is less than previously existed. Should use File.WriteAllBytes() or File.Create().
Line 142 of the client calls File.OpenWrite() which can write to an existing file if it exists, which could cause garbage data to remain appended to the end of the file if the file written is less than previously existed. Should use File.WriteAllBytes() or File.Create().