PasswordBox.SecurePassword 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.
Gets the password currently held by the PasswordBox as a SecureString.
public:
property System::Security::SecureString ^ SecurePassword { System::Security::SecureString ^ get(); };
public System.Security.SecureString SecurePassword { get; }
member this.SecurePassword : System.Security.SecureString
Public ReadOnly Property SecurePassword As SecureString
Property Value
A secure string representing the password currently held by the PasswordBox.
Remarks
When you get the Password property value, you expose the password as plain text in memory. To avoid this potential security risk, use the SecurePassword property to get the password as a SecureString.
Applies to
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.