CspParameters.KeyPassword 屬性

定義

重要

此 API 不符合 CLS 規範。

取得或設定與智慧卡金鑰關聯的密碼。Gets or sets a password associated with a smart card key.

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

屬性值

SecureString

與智慧卡金鑰關聯的密碼。A password associated with a smart card key.

屬性

備註

KeyPassword 可以使用屬性來提供智慧卡金鑰的密碼。Use the KeyPassword property to supply a password for a smart card key. 當您使用這個屬性指定密碼時,不會向使用者顯示密碼對話方塊。When you specify a password using this property, a password dialog box will not be presented to the user.

適用於