title: parameter incorrect in private key error
body: <p>I have private and public key in separate files.</p>
  
  <p>in instruction says use this code:</p>
  
  <pre><code>RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();
  
  rsa.FromXmlString(PrivateKey);
  </code></pre>
  
  <p>but when the code reaches at second line I get this error:</p>
  
  <p>An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll</p>
  
  <p>Additional information: The parameter is incorrect.</p>
  
  <p>what's the problem?</p>
  
  <p>in sample code from company which we've got the key, it uses a sample peivate and public key like this:</p>
  
  <pre><code>&lt;RSAKeyValue&gt;&lt;Modulus&gt;KEY VALUE&lt;/Modulus&gt;&lt;Exponent&gt;AQAB&lt;/Exponent&gt;&lt;/RSAKeyValue&gt;
  </code></pre>
  
  <p>Even though I join <code>&lt;RSAKeyValue&gt;&lt;Modulus&gt;</code> to the start and <code>&lt;/Modulus&gt;&lt;Exponent&gt;AQAB&lt;/Exponent&gt;&lt;/RSAKeyValue&gt;</code></p>
  
  <p>to the end, notting works</p>