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();
you need to read each character in
SecureString pass = new SecureString(); foreach (char c in pbox1.Password) { pass.AppendChar(c); }
or more securely use the SecurePassword property
SecureString pass = pbox1.SecurePassword