## DSACryptoServiceProvider::set_PersistKeyInCsp method


Defines whether key is persisted in CSP object.

```cpp
void System::Security::Cryptography::DSACryptoServiceProvider::set_PersistKeyInCsp(bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | True to persist the key, false otherwise. |

## See Also

* Class [DSACryptoServiceProvider](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF for C++](../../../)
