This project is read-only.

Open database readonly


The database can be only opened for read write, because of restoring the index at closing the database file and writing at load index. In some situations it is necessary to open the database file readonly. I added this feature by changing the source file IndexedFile.cs (see attachment).

In this case if a stream is opened in read mode then the IndexedFile will not write anything to database file, e.g.: file = new FileStream(fileName, FileMode.Open, FileAccess.Read);

Please, could you integrate this feature in the next release of the IOG?

file attachments