Table of Contents

Class GridFSFileInfo<TFileId>

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

Represents information about a stored GridFS file (backed by a files collection document).

[BsonSerializer(typeof(GridFSFileInfoSerializer<>))]
public sealed class GridFSFileInfo<TFileId> : BsonDocumentBackedClass

Type Parameters

TFileId

The type of the file identifier.

Inheritance
GridFSFileInfo<TFileId>
Inherited Members

Constructors

GridFSFileInfo(BsonDocument, IGridFSFileInfoSerializer<TFileId>)

Initializes a new instance of the GridFSFileInfo class.

Properties

Aliases

Gets the aliases.

BackingDocument

Gets the backing document.

ChunkSizeBytes

Gets the size of a chunk.

ContentType

Gets the type of the content.

Filename

Gets the filename.

Id

Gets the identifier.

Length

Gets the length.

MD5

Gets the MD5 checksum.

Metadata

Gets the metadata.

UploadDateTime

Gets the upload date time.