Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DSACryptoServiceProvider::PersistKeyInCsp Property

 

Gets or sets a value indicating whether the key should be persisted in the cryptographic service provider (CSP).

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public:
property bool PersistKeyInCsp {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the key should be persisted in the CSP; otherwise, false.

Use this property when you want to persist a key in a key container.

KeyContainerPermissionAccessEntry

for permission to delete a key. Security action: Demand. Associated enumeration: KeyContainerPermissionFlags::Delete

-or-

for permission to create a key. Security action: Demand. Associated enumeration: KeyContainerPermissionFlags::Create

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft