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.AreEqual("\\FILE.TXT;1", reader.GetFiles("")[0]); Assert.AreEqual("\\FILE.TXT;1", reader.GetFileSystemEntries("")[0]); reader = new CDReader(ms, true, true); Assert.AreEqual("\\FILE.TXT", reader.GetFiles("")[0]); Assert.AreEqual("\\FILE.TXT", reader.GetFileSystemEntries("")[0]); }