I am attempting to get the data from a wpf password box into a secure string. How is that done? what i have so far:
SecureString pass = new SecureString();
pass.AppendChar(pbox1.Password);
this of course does not work, so how would I get the password data without creating a regular string?