Otter SDK Reference
Version:

CreateZipFileAsync(string sourcePath, string targetFileName) Method

Creates a zip file from the specified directory.

Syntax

public abstract System.Threading.Tasks.Task CreateZipFileAsync(string sourcePath, string targetFileName)

Parameters

sourcePath
Type: string

The directory to zip.

targetFileName
Type: string

The full path of the zip file to create.