Redigera

Dela via


MaskedTextProvider.IsValidPasswordChar(Char) Method

Definition

Determines whether the specified character is a valid password character.

public:
 static bool IsValidPasswordChar(char c);
public static bool IsValidPasswordChar (char c);
static member IsValidPasswordChar : char -> bool
Public Shared Function IsValidPasswordChar (c As Char) As Boolean

Parameters

c
Char

The Char value to test.

Returns

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

Remarks

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.

Applies to

See also