title: Secure communication between a C# client and a PHP Server
body: <p>I am maintaining a C# app that's been cracked by people creating spoof auth servers.  </p>
  
  <p>I want to encrypt all the communications between the client and server to prevent this happening to my next release.  </p>
  
  <p>I can see that PHP has a way to secure stuff.
  <a href="http://www.php.net/manual/en/function.openssl-private-decrypt.php" rel="nofollow noreferrer">http://www.php.net/manual/en/function.openssl-private-decrypt.php</a></p>
  
  <p>What I can't find is the C# that will allow me to use the same built in libraries.</p>
  
  <p>Can anyone help?</p>