To not show your passwords in plain text on a propertygrid, just use the PasswordPropertyText attribute:
[DisplayName("Password"), Category("Authentication"), PasswordPropertyText(true)]
public string Password
{
…
}
To not show your passwords in plain text on a propertygrid, just use the PasswordPropertyText attribute:
[DisplayName("Password"), Category("Authentication"), PasswordPropertyText(true)]
public string Password
{
…
}
Leave a Reply
You must be logged in to post a comment.