UtilPathUpdateCase(String, String) Method

Update path with the case present on the disk.

The path can be relative. If it is relative, the base path can be provided as basePath, and if that is not provided (null), then the current working directory is used.

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 PathUpdateCase(
	ref string path,
	string basePath = null
)

Parameters

path  String
Path to check, modified on return.
basePath  String  (Optional)
Base path for relative paths

Return Value

Boolean
True if the path was changed

See Also