Otter SDK Reference
Version:

Exists(string path) Method

Returns a value indicating whether a file exists.

Syntax

public static bool Exists(string path)

Parameters

path
Type: string

Path of the file to check for.

Returns

True if the file exists; otherwise false.

Exceptions

System.ArgumentNullException

path is null (Nothing in Visual Basic) or empty.