Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MimeEntity.GetContentStream Method

Namespace: Rebex.Mime
Assembly: Rebex.Mail.dll (version 7.0.9147)

GetContentStream(Boolean)

Returns the stream representing a content of this entity.

Declaration
public Stream GetContentStream(bool writable)
Parameters
Type Name Description
Boolean writable

Specifies whether to return a writable or read-only stream.

Returns
Type Description
Stream

The stream representing a content of this entity.

Remarks

To set the content of this entity, it is recommended to use one of SetContent(String) or SetContentFromFile(String) methods.

GetContentStream()

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

Declaration
public Stream GetContentStream()
Returns
Type Description
Stream

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

Remarks

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

In This Article
  • GetContentStream(Boolean)
  • GetContentStream()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies