Method OpenUploadStream
OpenUploadStream(string, GridFSUploadOptions, CancellationToken)
Opens a Stream that can be used by the application to write data to a GridFS file.
GridFSUploadStream OpenUploadStream(string filename, GridFSUploadOptions options = null, CancellationToken cancellationToken = default)
Parameters
filename
stringThe filename.
options
GridFSUpload Options The options.
cancellationToken
CancellationToken The cancellation token.
Returns
- Grid
FSUpload Stream A Stream.