Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.")]
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
© 2016 Microsoft