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
public bool PersistKeyInCsp {get; set;}
public: __property bool get_PersistKeyInCsp();
public: __property void set_PersistKeyInCsp(bool);
public function get PersistKeyInCsp() : Boolean;
public function set PersistKeyInCsp(Boolean);

Property Value

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


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

© 2014 Microsoft