title: How to set RSACryptoServiceProvider Public Key?
body: <p>I have a <code>RSA</code> public key stored in a file. The file is plain text and reads as:</p>
  
  <pre><code>-----BEGIN RSA PUBLIC KEY-----
  Mdflkjlkf8u8f84rkrjfgk8r7u8t758tkjfedfkjldfjhfjdfdjfkdjfkdfdfdfs
  Ddfldkfdjfkjljfldfdlfhkdhfkdhfkdhfkdhfkjdffdnodhmndhiufdofhodhfd
  xWCnQ6QOIwKqRY6lklk09erjbds6erottgkjirt895t5tixaevJlMmrZGLaITW66
  xVjbPvdpjMniFiemtwIDAQAB
  -----END RSA PUBLIC KEY-----
  </code></pre>
  
  <p>I want to feed this public key to an object of <code>RSACryptoServiceProvider</code> and encrypt an arbitrary message using <code>Encrypt</code>. Unfortunately, I couldn't figure out how to set <code>PK</code>. Any help is more than welcome. </p>