FilesReplaceInvalidFileNameChars Method

Replaces illegal characters in the file name with the specified character.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string ReplaceInvalidFileNameChars(
	string fileName,
	char validChar = ''
)

Parameters

fileName  String
The file name to process.
validChar  Char  (Optional)
The character to replace illegal characters.

Return Value

String
String with the file name with illegal characters replaced.

See Also