Export (0) Print
Expand All

MaskedTextProvider.IsValidPasswordChar Method

Determines whether the specified character is a valid password character.

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

public static bool IsValidPasswordChar (
	char c
)
public static boolean IsValidPasswordChar (
	char c
)
public static function IsValidPasswordChar (
	c : char
) : boolean
Not applicable.

Parameters

c

The Char value to test.

Return Value

true if the specified character contains a valid password value; otherwise false.

Valid password characters include all printable characters and the null character, which is used to disable password functionality. Printable characters include letters, digits, punctuation, symbols and the space character.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft