Utils_FileReplaceFileNameInvalidCharacters Method |
Replaces "Path.GetInvalidFileNameChars" by a given character.
Namespace:
MicaSystems.Utils
Assembly:
MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax public static string ReplaceFileNameInvalidCharacters(
string fileName,
char replacementCharacter
)
Parameters
- fileName
- Type: SystemString
Name to check. - replacementCharacter
- Type: SystemChar
Character used to replace invalid characters from the file name.
Return Value
Type:
StringReturns adapted file name.
See Also