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.7.1
Syntax
C#
public byte[] ToArray()

Return Value

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