Hi,
I don't find out how to read a 7zip file sequential.
My problem is I have really huge archive files and don't want to load the hole file content into the memory or to extract the the archive into a new file.
I want to read the archive as stream on the fly.
Somethink like:
Regards Steffen
I don't find out how to read a 7zip file sequential.
My problem is I have really huge archive files and don't want to load the hole file content into the memory or to extract the the archive into a new file.
I want to read the archive as stream on the fly.
Somethink like:
using (FileStream fs = new FileStream(file, FileMode.Open))
{
using (LzmaStream lzmaStream = new LzmaStream(..., false, fs))
{
using (XmlTextReader reader = new XmlTextReader(lzmaStream))
{
internalReadXml(reader, fileWatchThread);
}
}
}
can somebody give me a hint how to do this?Regards Steffen