I have a PasswordBox. how can I get the input value from the PasswordBox after the input has been finished?
PasswordBox
If using a MaskedTextbox you can use the .text property. For example:
private void btnOk_Click(object sender, EventArgs e) { if ( myMaskedTextbox.Text.Equals(PASSWORD) ) { //do something } }