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, setPublic Property PersistKeyInCsp As Boolean属性值
如果应在 CSP 中保留此密钥,则为 true;否则为 false。
注解
如果要将密钥保存在密钥容器中,请使用此属性。