AddDirectoryWillTraverseReparsePoints Property

DotNetZip

Ionic Zip Library v1.9.1.6 AddDirectoryWillTraverseReparsePoints Property
ReferenceIonic.ZipZipFileAddDirectoryWillTraverseReparsePoints
Indicates whether NTFS Reparse Points, like junctions, should be traversed during calls to AddDirectory().
Declaration Syntax
C# Visual Basic Visual C++
public bool AddDirectoryWillTraverseReparsePoints { get; set; }
Public Property AddDirectoryWillTraverseReparsePoints As Boolean
	Get
	Set
public:
property bool AddDirectoryWillTraverseReparsePoints {
	bool get ();
	void set (bool value);
}
Remarks
By default, calls to AddDirectory() will traverse NTFS reparse points, like mounted volumes, and directory junctions. An example of a junction is the "My Music" directory in Windows Vista. In some cases you may not want DotNetZip to traverse those directories. In that case, set this property to false.
Examples
CopyC#
using (var zip = new ZipFile())
{
    zip.AddDirectoryWillTraverseReparsePoints = false;
    zip.AddDirectory(dirToZip,"fodder");
    zip.Save(zipFileToCreate);
}

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)