System.ComponentModel.MaskedTextProvider.PasswordChar Property

Gets or sets the character to be substituted for the actual input characters.

Syntax

public char PasswordChar { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

For sensitive user input, it is common practice to conceal the actual information entered by the user during output operations. If the MaskedTextProvider.PasswordChar property is set to a non-null character, output methods such as MaskedTextProvider.ToDisplayString and erload:System.ComponentModel.MaskedTextProvider.ToString will obscure the input characters with the specified password character. Setting this property to null will disable password protection functionality.

Requirements

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