Checks to see if a file has invalid path characters. Use this to check before using or manipulating paths with Path
operations that will fail if files or paths contain invalid characters.
public static bool HasInvalidPathCharacters(string path, Char[] additionalChars)
Parameters
path
Path to check
additionalChars
Optionally allows you to add additional invalid characters to the disallowed OS characters
See also:
Class FileUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic