## X509Certificate2::Verify method


Verifies certificate chain.

```cpp
bool System::Security::Cryptography::X509Certificates::X509Certificate2::Verify() const
```


### ReturnValue

True if the certificate is valid, false otherwise.

## See Also

* Class [X509Certificate2](../)
* Namespace [System::Security::Cryptography::X509Certificates](../../)
* Library [Aspose.PDF for C++](../../../)
