Click or drag to resize
MemoryStreamToArray Method
Writes the stream contents to a byte array, regardless of the Position property.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual byte[] ToArray()

Return Value

Type: Byte
A new byte array.
See Also