Otter SDK Reference
Version:

DeleteFiles(IFileOperationsExecuter agent, string[] fileNames) Method

Deletes all of the specified files if they exist.

Syntax

public static void DeleteFiles(IFileOperationsExecuter agent, string[] fileNames)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

fileNames
Type: string[]

The files to delete.