DSACryptoServiceProvider.PersistKeyInCsp 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示金鑰是否應持續保存在密碼服務提供者(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
備註
當你想在金鑰容器中持久化金鑰時,可以使用這個屬性。