Export (0) Print
Expand All

RSACryptoServiceProvider.PersistKeyInCsp Property

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

[Visual Basic]
Public Property PersistKeyInCsp As Boolean
[C#]
public bool PersistKeyInCsp {get; set;}
[C++]
public: __property bool get_PersistKeyInCsp();
public: __property void set_PersistKeyInCsp(bool);
[JScript]
public function get PersistKeyInCsp() : Boolean;
public function set PersistKeyInCsp(Boolean);

Property Value

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

RSACryptoServiceProvider Class | RSACryptoServiceProvider Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2014 Microsoft