The DownloadStream Entity
DownloadStream
catalytic.sdk.entities.DownloadStream
The DownloadStream
entity contains metadata about file the file, as well as a reference to a System.IO.Stream
instance for reading the file's contents.
Instance Properties
Name | Type | Description |
---|---|---|
FileNme | String | The original name of the uploaded File |
ContentType | String | The content type of the File |
Size | int | The size of the File in bytes |
Stream | System.IO.Stream | A stream for reading the file's contents |
Stream Disposal
DownloadStream
implementsIDisposable
. Be sure to wrap calls in ausing
statement, or callDispose()
directly when you are done reading the stream. See the Get a File Stream Example.
Updated about 4 years ago