Method Download
Download(Stream, IMongoQuery)
Downloads the most recent version of a GridFS file.
public void Download(Stream stream, IMongoQuery query)
Parameters
streamStreamThe destination stream.
queryIMongoQueryThe GridFS file.
Download(Stream, IMongoQuery, int)
Downloads a specific version of a GridFS file.
public void Download(Stream stream, IMongoQuery query, int version)
Parameters
streamStreamThe destination stream.
queryIMongoQueryThe GridFS file.
versionintThe version to download.
Download(Stream, MongoGridFSFileInfo)
Downloads a GridFS file.
public void Download(Stream stream, MongoGridFSFileInfo fileInfo)
Parameters
streamStreamThe destination stream.
fileInfoMongoGridFSFileInfoThe 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
streamStreamThe destination stream.
remoteFileNamestringThe remote file name.
versionintThe version to download.
Download(string)
Downloads the most recent version of a GridFS file.
public void Download(string fileName)
Parameters
fileNamestringThe 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
localFileNamestringThe local file name.
queryIMongoQueryThe GridFS file.
Download(string, IMongoQuery, int)
Downloads a specific version of a GridFS file.
public void Download(string localFileName, IMongoQuery query, int version)
Parameters
localFileNamestringThe local file name.
queryIMongoQueryThe GridFS file.
versionintThe version to download.
Download(string, MongoGridFSFileInfo)
Downloads a GridFS file.
public void Download(string localFileName, MongoGridFSFileInfo fileInfo)
Parameters
localFileNamestringThe local file name.
fileInfoMongoGridFSFileInfoThe 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)