語言

DSACryptoServiceProvider.PersistKeyInCsp 屬性

定義

取得或設定一個值,指示金鑰是否應持續保存在密碼服務提供者(CSP)中。

public:
 property bool PersistKeyInCsp { bool get(); void set(bool value); };
public bool PersistKeyInCsp { get; set; }
member this.PersistKeyInCsp : bool with get, set
Public Property PersistKeyInCsp As Boolean

屬性值

true若金鑰應持續存在於 CSP;否則,。 false

備註

當你想在金鑰容器中持久化金鑰時,可以使用這個屬性。

適用於

另請參閱