Otter SDK Reference
Version:

DeleteDirectory(IFileOperationsExecuter agent, string dirName) Method

Deletes the specified directory if it exists.

Syntax

public static void DeleteDirectory(IFileOperationsExecuter agent, string dirName)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

dirName
Type: string

The full path of the directory.