File.Exists

public static bool Exists(string path);

Parameters

pathThe file to check.

Description

Determines whether the specified file exists.

Did you find this page useful? Please give it a rating: