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.3.0
Syntax
C#
public void Add(
	Stream stream,
	bool leaveOpen = false
)

Parameters

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