Click or drag to resize
MimeKit

MemoryBlockStreamToArray Method

Copy the memory stream into a byte array.

Namespace: MimeKit.IO
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public byte[] ToArray()

Return Value

Byte
The array.
Remarks
Copies all the stream data into a newly allocated byte array.
See Also