title: wpf password box into a SecureString in C#
body: <p>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:</p>
  
  <pre><code> SecureString pass = new SecureString();
          pass.AppendChar(pbox1.Password);
  </code></pre>
  
  <p>this of course does not work, so how would I get the password data without creating a regular string?</p>