public void HideVersions() { CDBuilder builder = new CDBuilder(); builder.UseJoliet = true; builder.AddFile("FILE.TXT;1", new byte[] { }); MemoryStream ms = new MemoryStream(); SparseStream.Pump(builder.Build(), ms); CDReader reader = new CDReader(ms, true, false); Assert.Equal("\\FILE.TXT;1", reader.GetFiles("")[0]); Assert.Equal("\\FILE.TXT;1", reader.GetFileSystemEntries("")[0]); reader = new CDReader(ms, true, true); Assert.Equal("\\FILE.TXT", reader.GetFiles("")[0]); Assert.Equal("\\FILE.TXT", reader.GetFileSystemEntries("")[0]); }