title: Encrypt connection string in app.config so that it works on different system
body: <p>I used <a href="http://www.codeproject.com/Tips/598863/EncryptionplusDecryptionplusConnectionplusStringpl" rel="noreferrer">this</a> article to encrypt my <code>app.config</code>. The problem is that when I test this app on another computer and that system couldn't decrypt the connection string.</p>
  
  <p>I also read <a href="https://msdn.microsoft.com/en-us/library/ms254494(v=vs.110).aspx" rel="noreferrer">this</a> article on MSDN and note that </p>
  
  <blockquote>
    <p>The connection string can only be decrypted on the computer on which it was encrypted.</p>
  </blockquote>
  
  <p>Now how can I encrypt connection string in <code>app.config</code>? </p>