I need to check if the compressed file contains source code file (.exe or .dll) including in the nested compressed file. I need to do this without extracting it to local drive. I tried to build a recursive function for handling the nested compressed file.
I thought I can get the stream using entry.openentrystream(). But when I pass that stream to the recursive function it gives error saying stream should be readable and seekable.
content = entry.OpenEntryStream();
isRoot = false;
ReadCompressed(content, strPathName, isRoot);
Here ReadCompressed is a recursive function
The recursive function raises the exception at this line
var archive = ArchiveFactory.Open(content);