The DownloadStream Entity



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

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.