CspParameters.KeyPassword Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.