Click or drag to resize

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.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static string MakeValidFileName(
	string name
)

Parameters

name
Type: SystemString
File name to make valid

Return Value

Type: String
Valid file name
See Also