C# (CSharp) MongoDB.GridFS GridFileStream - 4 examples found. These are the top rated real world C# (CSharp) examples of MongoDB.GridFS.GridFileStream extracted from open source projects. You can rate examples to help us improve the quality of examples.
Stream for reading and writing to a file in GridFS.
When using the stream for random io it is possible to produce chunks in the begining and middle of the file that are not full size followed by other chunks that are full size. This only affects the md5 sum that is calculated on the file on close. Because of this do not rely on the md5 sum of a file when doing random io. Writing to the stream sequentially works fine and will produce a consistent md5.