## SslStream::get_LocalCertificate method


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

```cpp
virtual System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate> System::Net::Security::SslStream::get_LocalCertificate()
```


### ReturnValue

The certificate that is used to authenticate the local endpoint.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [X509Certificate](../../../system.security.cryptography.x509certificates/x509certificate/)
* Class [SslStream](../)
* Namespace [System::Net::Security](../../)
* Library [Aspose.Page for C++](../../../)
