Method pathname.isInvalidNameChar Overload Returns true if character c is invalid in file names (the filename part). public static bool isInvalidNameChar(char c) Parameters c (char) Returns bool