UtilFileExists(String) 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.

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(
	ref string path
)

Parameters

path  String
File path to check. Can be relative or absolute

Return Value

Boolean
True if file exists

See Also