Table of Contents

Class GridFSFileInfo

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 : BsonDocumentBackedClass
Inheritance
GridFSFileInfo
Inherited Members

Constructors

GridFSFileInfo(BsonDocument)

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.

IdAsBsonValue

Gets the identifier as a BsonValue.

Length

Gets the length.

MD5

Gets the MD5 checksum.

Metadata

Gets the metadata.

UploadDateTime

Gets the upload date time.