protected override bool MoveToNextEntry() { do { if ((tarEntry = ReadStream.GetNextEntry()) == null) { return(false); } }while (tarEntry.IsDirectory); return(true); }
protected override bool MoveToNextEntry() { do { if ((zipEntry = ReadStream.GetNextEntry()) == null) { return(false); } if (throwOnEncryptedEntries && zipEntry.IsCrypted) { throw AMSIRejectedByPolicyException.ZipContainsCryptedEntry(zipEntry.Name); } }while (!zipEntry.IsFile); return(true); }