Click or drag to resize
PathIsValidName Method
[AlphaFS] Check if file or folder name has any invalid characters.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static bool IsValidName(
	string name
)

Parameters

name
Type: SystemString
File or folder name.

Return Value

Type: Boolean
Returns if name contains any invalid characters. Otherwise
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when one or more required arguments are null.
See Also