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

屬性值

與智慧卡金鑰關聯的密碼。

屬性

備註

KeyPassword使用 屬性來提供智慧卡金鑰的密碼。 當您使用此屬性指定密碼時,將不會向使用者顯示密碼對話方塊。

適用於