Click or drag to resize
MimeKit

ChainedStreamAdd Method

Add a stream to the chained stream.

Namespace: MimeKit.IO
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public void Add(
	Stream stream,
	bool leaveOpen = false
)

Parameters

stream  Stream
The stream.
leaveOpen  Boolean  (Optional)
if the stream should remain open after the ChainedStream is disposed; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is .
Remarks
Adds the stream to the end of the chain.
See Also