---
title: "System::Security::Cryptography::X509Certificates::X509Certificate2::set_Archived method"
url: "https://reference.aspose.com/tex/cpp/system.security.cryptography.x509certificates/x509certificate2/set_archived/"
product: "Aspose.TeX for C++"
description: "System::Security::Cryptography::X509Certificates::X509Certificate2::set_Archived method. Sets a value indicating that certificate is archived in C++."
---

## X509Certificate2::set_Archived method


Sets a value indicating that certificate is archived.

```cpp
void System::Security::Cryptography::X509Certificates::X509Certificate2::set_Archived(bool value) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | true if the certificate is archived, otherwise - false. |

## See Also

* Class [X509Certificate2](../)
* Namespace [System::Security::Cryptography::X509Certificates](../../)
* Library [Aspose.TeX for C++](../../../)
