[]
For internal use.
Sets the content of this ContentStream from the specified MemoryStream.
If copyStream is true then stream content will be copied
and it should be disposed; otherwise (copyStream is false)
the content stream will use passed stream.
public void SetContent(MemoryStream stream, bool copyStream = true)
| Type | Name | Description |
|---|---|---|
| MemoryStream | stream | |
| bool | copyStream |