Otter SDK Reference
Version:

DirectoryExists(IFileOperationsExecuter agent, string path) Method

Returns a value indicating whether a directory exists at the specified path.

Syntax

public static bool DirectoryExists(IFileOperationsExecuter agent, string path)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

path
Type: string

The path of the directory.

Returns

True if the directory exists; otherwise false.