How to Create a Byte Array from a Stream in C# (.NET) | CodeTrail