System.Uri.IsBadFileSystemCharacter Method

Gets whether a character is invalid in a file system name.

Syntax

[System.Obsolete]
protected virtual bool IsBadFileSystemCharacter (char character)

Parameters

character
The char to test.

Returns

A bool value that is true if the specified character is invalid; otherwise false.

Remarks

The character is analyzed according to the rules for the NTFS file system.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0