Click or drag to resize
PathGetInvalidFileNameChars Method
Gets an array containing the characters that are not allowed in file names.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static char[] GetInvalidFileNameChars()

Return Value

Type: Char
An array containing the characters that are not allowed in file names.
See Also