I'm trying to open a large ISO file, its a download of the Windows WAIK for W7 which can be found here:
This is my code
using (FileStream fs = new FileStream(waikIsoPath, FileMode.Open))
CDReader cdr = new CDReader(fs, false);
Stream s = cdr.OpenFile("Autorun.inf", FileMode.Open);
I can open the ISO using 7Zip and I know the root contains a file call Autorun.inf, however the above code causes a FileNotFoundException on the OpenFile line reporting "No such file".
Further, if I attempt to get the directories array from the cd root it is empty with a count of zero.