title: Check self-signed certificate (SSL, C#)
body: <p>In my desktop application i use HTTPS connection. Certificate is SELF-signed. 
  How I can <strong>check</strong> self-signed certificate in c# programatically? </p>
  
  <p>i make i a callback "ValidateRemoteCertificate":</p>
  
  <pre><code> ServicePointManager.ServerCertificateValidationCallback += new RemoteCertificateValidationCallback(ValidateRemoteCertificate)
  </code></pre>
  
  <p>By default, my "ValidateRemoteCertificate" method always return TRUE.
  But I think i need to check valid or invalid this certificate. 
  How to check it? What i must to check in "ValidateRemoteCertificate"? </p>