Hevea documentation

DualStreamReader.ReadBlock Method (Stream, String)

Reads binary data until a string boundary occurs.

public void ReadBlock(
   Stream destinationStream,
   string boundary
);

Parameters

destinationStream
destindation stream
boundary
boundary

Exceptions

Exception Type Condition
ArgumentNullException destinationStream or boundary is null
ArgumentException the stream must be writable
IOException an I/O error occurs
ObjectDisposedException the base stream has been closed

See Also

DualStreamReader Class | Hevea.Core.Net Namespace | DualStreamReader.ReadBlock Overload List