Table of Contents

Class GridFSDownloadStream<TFileId>

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.dll

Represents a Stream used by the application to read data from a GridFS file.

public abstract class GridFSDownloadStream<TFileId> : Stream, IAsyncDisposable, IDisposable

Type Parameters

TFileId

The type of the file identifier.

Inheritance
GridFSDownloadStream<TFileId>
Implements
Inherited Members

Properties

FileInfo

Gets the files collection document.

Methods

Close(CancellationToken)

Closes the GridFS stream.

CloseAsync(CancellationToken)

Closes the GridFS stream.