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

屬性值

如果金鑰應保留在 CSP 中,則為 true;否則為 false

備註

當您想要在金鑰容器中保存金鑰時,請使用這個屬性。

適用於

另請參閱