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

NameTypeDescription
FileNmeStringThe original name of the uploaded File
ContentTypeStringThe content type of the File
SizeintThe size of the File in bytes
StreamSystem.IO.StreamA stream for reading the file's contents

๐Ÿšง

Stream Disposal

DownloadStream implements IDisposable. Be sure to wrap calls in a using statement, or call Dispose() directly when you are done reading the stream. See the Get a File Stream Example.