public static PathContainsInvalidChar ( string s ) : bool | ||
s | string | |
Résultat | bool |
public static bool PathContainsInvalidChar(string s)
{
var stripped = new Regex(InvalidPathCharsPattern).Replace(s, string.Empty);
return stripped != s;
}