Returns a read-only stream that can be used to read the raw MIME message content. Copying all the content into another stream is identical to Save(Stream) method.

Namespace:  Rebex.Mime
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Function ToStream As Stream
C#
public Stream ToStream()

Return Value

Read-only stream.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also