UtilFileExists(String, String, 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 path is updated to match the case.
Namespace: DHI.Mike1D.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public static bool FileExists(
ref string path,
string basePath,
out bool pathMod
)
- path String
- File path to check. Can be relative or absolute
- basePath String
- Base path to use when path is relative. If null, the current directory is used.
- pathMod Boolean
- Return flag indicating of the filePath was updated
BooleanTrue if file exists