The BasePath property allows you to specify the starting path for all entries in the FilesToProcess and FilesToExclude properties that have been specified using relative paths.
If the BasePath property is left empty, relative paths specified in the FilesToProcess and FilesToExclude properties will be relative to the application's current directory, which is not recommended.
This property is particularly useful for controlling how paths are stored in the zip file.
String
Empty
Declaration (DLL API) | |
---|---|
|
If you want more control over how path and/or file names are stored in the zip file, you can use the ZipPreprocessingFile event to change stored path and filenames to whatever you want.
If you don't want any path information to be stored in the zip file, you can use the PreservePaths property.