BuildMaster SDK Reference
Version:
ZipAndEncodeDirectory(string path, string defaultPage) Method
Zips a directory and returns a base 64 encoded string containing the resulting archive.
Syntax
protected
static
string ZipAndEncodeDirectory(string path, string defaultPage)
Parameters
- path
- Type: string
Directory to zip. Files and subdirectories will be added to the archive.
- defaultPage
- Type: string
Default or main page of the archive.
Returns
Base 64 encoded string containing the zipped directory.