IsDirectory Property

SharpZip Compression Library

SharpZip Compression Library

ZipEntry.IsDirectory Property

Gets a value indicating of the if the entry is a directory. A directory is determined by an entry name with a trailing slash '/'. The external file attributes can also mark a file as a directory. The trailing slash convention should always be followed however.

public bool IsDirectory {get;}

See Also

ZipEntry Class | ICSharpCode.SharpZipLib.Zip Namespace