Exemplo n.º 1
0
        public void Open()
        {
            readingCache = new ReadingCache(indexFileName);

            int version = readingCache.ReadInt32();
            if (version != StreamSource.VERSION)
            {
                throw new NotSupportedException("The index file version is incorrect. Please check the file used is what you want or rebuild the index file.");
            }
        }
Exemplo n.º 2
0
        public void Open()
        {
            readingCache = new ReadingCache(indexFileName);

            int version = readingCache.ReadInt32();

            if (version != StreamSource.VERSION)
            {
                throw new NotSupportedException("The index file version is incorrect. Please check the file used is what you want or rebuild the index file.");
            }
        }