title: Getting password from PasswordBox
body: <p>I have found several information on this issue here at SO but somehow I'm not really getting it ;-) From what I have read, the password of a PasswordBox cannot be bound to a property due to security reasons, i.e. keeping the plain password in memory.</p>
  
  <p>My model contains this:</p>
  
  <pre><code>private SecureString password;
  public SecureString Password {
    get { return password; }
    set { password = value; }
  }
  </code></pre>
  
  <p>Though data binding to a PasswordBox is not supported, Microsoft must have <em>some</em> idea how to get the password from the PasswordBox and use it in a secure way, eh?</p>
  
  <p>What could be an appropriate and relatively easy way to do so?</p>