UtilMakeValidFileName Method

Makes a file name valid by replacing invalid file name characters by an underscore.

The input string must be the file name only, and can not contain any path characters.

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 string MakeValidFileName(
	string name
)

Parameters

name  String
File name to make valid

Return Value

String
Valid file name

See Also