UtilFileExists(FilePath, Boolean) Method

Check if file exists. If AutoFileCaseUpdate is set, allowing case differences (Linux).

If a file is found with same name but different case, the filePath is updated to match the case.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static bool FileExists(
	FilePath filePath,
	out bool pathMod
)

Parameters

filePath  FilePath
File path to check
pathMod  Boolean
Return flag indicating if the filePath was updated

Return Value

Boolean
True if file exists

See Also