IsDirectory Property

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

ZipEntry.IsDirectory Property

Gets a value indicating if the entry is a directory. however.

public bool IsDirectory {get;}

Remarks

A directory is determined by an entry name with a trailing slash '/'. The external file attributes can also indicate an entry is for a directory. Currently only dos/windows attributes are tested in this manner. The trailing slash convention should always be followed.

See Also

ZipEntry Class | ICSharpCode.SharpZipLib.Zip Namespace