Add static IsZipFile function

Jul 3, 2008 at 5:48 PM
Please consider adding a static (Shared in VB) function that peeks at a file and returns True if the file appears to be a zip archive.  Assuming that zip archives have some sort of signature at the beginning of the file, this would be as simple as checking for that signature.  This function would give applications like mine a quick way to tell if a file is probably a zip archive (rather than trying to open it and catching the exception if it's not a zip archive).
Coordinator
Jul 9, 2008 at 7:44 PM
This feature is now in the v1.6 preview.
http://www.codeplex.com/DotNetZip/Release/ProjectReleases.aspx?ReleaseId=14569