Otter SDK Reference
Version:

FileExists(IFileOperationsExecuter agent, string path) Method

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

Syntax

public static bool FileExists(IFileOperationsExecuter agent, string path)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

path
Type: string

The path of the file.

Returns

True if the file exists; otherwise false.