Method Download
Download(Stream, IMongoQuery)
Downloads the most recent version of a GridFS file.
public void Download(Stream stream, IMongoQuery query)
Parameters
stream
StreamThe destination stream.
query
IMongoQueryThe GridFS file.
Download(Stream, IMongoQuery, int)
Downloads a specific version of a GridFS file.
public void Download(Stream stream, IMongoQuery query, int version)
Parameters
stream
StreamThe destination stream.
query
IMongoQueryThe GridFS file.
version
intThe version to download.
Download(Stream, MongoGridFSFileInfo)
Downloads a GridFS file.
public void Download(Stream stream, MongoGridFSFileInfo fileInfo)
Parameters
stream
StreamThe destination stream.
fileInfo
MongoGridFSFileInfoThe GridFS file.
Download(Stream, string)
Downloads the most recent version of a GridFS file.
public void Download(Stream stream, string remoteFileName)
Parameters
Download(Stream, string, int)
Downloads a specific version of a GridFS file.
public void Download(Stream stream, string remoteFileName, int version)
Parameters
stream
StreamThe destination stream.
remoteFileName
stringThe remote file name.
version
intThe version to download.
Download(string)
Downloads the most recent version of a GridFS file.
public void Download(string fileName)
Parameters
fileName
stringThe file name (same local and remote names).
Download(string, int)
Downloads a specific version of a GridFS file.
public void Download(string fileName, int version)
Parameters
Download(string, IMongoQuery)
Downloads the most recent version of a GridFS file.
public void Download(string localFileName, IMongoQuery query)
Parameters
localFileName
stringThe local file name.
query
IMongoQueryThe GridFS file.
Download(string, IMongoQuery, int)
Downloads a specific version of a GridFS file.
public void Download(string localFileName, IMongoQuery query, int version)
Parameters
localFileName
stringThe local file name.
query
IMongoQueryThe GridFS file.
version
intThe version to download.
Download(string, MongoGridFSFileInfo)
Downloads a GridFS file.
public void Download(string localFileName, MongoGridFSFileInfo fileInfo)
Parameters
localFileName
stringThe local file name.
fileInfo
MongoGridFSFileInfoThe GridFS file.
Download(string, string)
Downloads the most recent version of a GridFS file.
public void Download(string localFileName, string remoteFileName)
Parameters
Download(string, string, int)
Downloads a specific version of a GridFS file.
public void Download(string localFileName, string remoteFileName, int version)