Upraviť

Zdieľať cez


CspParameters.KeyPassword Property

Definition

Important

This API is not CLS-compliant.

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); };
[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

Property Value

A password associated with a smart card key.

Attributes

Remarks

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.

Applies to