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 bool PersistKeyInCsp { get; set; }

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: