Uri.IsBadFileSystemCharacter Method (Char)

Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System
Assembly:  System (in System.dll)

[ObsoleteAttribute("The method has been deprecated. It is not used by the system. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual bool IsBadFileSystemCharacter(
	char character


Type: System.Char

The Char to test.

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 1.1
Return to top