get_RemoteCertificate()

SslStream::get_RemoteCertificate() method

Returns the certificate that is used to authenticate the remote endpoint.

virtual System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate> System::Net::Security::SslStream::get_RemoteCertificate()

Return Value

The certificate that is used to authenticate the remote endpoint.

See Also