Populates the System.Security.Cryptography.X509Certificates.X509Certificate object with information from a certificate file.
This method uses a certificate file (such as a file with a .cer extension) that represents an X.509 certificate, and populates the System.Security.Cryptography.X509Certificates.X509Certificate object with the certificate that the file contains.