Returns the read-only stream representing a content of this attachment.

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

Syntax

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

Return Value

The read-only stream representing a content of this attachment.

Remarks

To set the content of this attachment, use one of SetContent(String) or SetContentFromFile methods.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also