PasswordCredential.Password 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 or sets the password string of the credential. This value must not be null or empty, otherwise an exception will be thrown. You must call RetrievePassword first to set the initial value of this property.
public:
property Platform::String ^ Password { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Password();
void Password(winrt::hstring password);
public string Password { get; set; }
var string = passwordCredential.password;
passwordCredential.password = string;
Public Property Password As String
Property Value
The password string of the credential.