Click or drag to resize
IUploadedFileOpenReadStream Method
Opens the request stream for reading the uploaded file. Once the read is completed this stream should be disposed manually.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
Stream OpenReadStream()

Return Value

Type: Stream
Exceptions
ExceptionCondition
NotSupportedException Thrown when the implementation of IUploadedFile does not support accessing the input stream via opening of a new stream and the input stream must be accessed via InputStream property.
See Also