In the small application that I am currently developing for the client, I need to ask the user his username, password and user domain, and then use those who have System.Diagnostics.Process.Start to launch the application.
I have a text box with UseSystemPasswordChar to mask the entered password.
I need System.Security.SecureString to feed the password to System.Diagnostics.Process.Start .
How to convert the entered text to a protected string without making it one character after another? Alternatively: is there a better window control to ask the user for a password that returns the entered text as SecureString?
BlaM
source share