CspParameters.KeyPassword 属性

定义

重要

此 API 不符合 CLS。

获取或设置与智能卡密钥相关的密码。

public:
 property System::Security::SecureString ^ KeyPassword { System::Security::SecureString ^ get(); void set(System::Security::SecureString ^ value); };
[System.CLSCompliant(false)]
public System.Security.SecureString? KeyPassword { get; set; }
[System.CLSCompliant(false)]
public System.Security.SecureString KeyPassword { get; set; }
public System.Security.SecureString KeyPassword { get; set; }
[<System.CLSCompliant(false)>]
member this.KeyPassword : System.Security.SecureString with get, set
member this.KeyPassword : System.Security.SecureString with get, set
Public Property KeyPassword As SecureString

属性值

SecureString

与智能卡密钥相关的密码。

属性

注解

使用属性 KeyPassword 提供智能卡密钥的密码。 使用此属性指定密码时,不会向用户显示密码对话框。

适用于