BuildMaster SDK Reference
Version:

ZipAndEncodeDirectory(string path, string defaultPage, string previewPage) Method

Zips a directory and returns a base 64 encoded string containing the resulting archive.

Syntax

protected static string ZipAndEncodeDirectory(string path, string defaultPage, string previewPage)

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.

previewPage
Type: string

Page to display in an iframe as a preview of the report; may be null (Nothing in Visual Basic).

Returns

Base 64 encoded string containing the zipped directory.