C# how to get text value from PasswordBox?

前端 未结 2 1920
孤城傲影
孤城傲影 2021-02-11 12:11

I have a PasswordBox. how can I get the input value from the PasswordBox after the input has been finished?

相关标签:
2条回答
  • 2021-02-11 12:32

    You may extract it from Password property:

    passwordBox.Password.ToString()
    
    0 讨论(0)
  • 2021-02-11 12:33

    You can get it from the Password property.

    0 讨论(0)
提交回复
热议问题