IOHelperDoesFileExist Method
Checks whether a file exists.
Namespace: Configuration.HelperAssembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
public static bool DoesFileExist(
string fileName,
bool throwNotFound = false
)
- fileName String
- Name of the file to check.
- throwNotFound Boolean (Optional)
- Throw an exception if the file does not exist.
Boolean if the file exists, otherwise
is returned.