Skip to main content
PasswordCredential.Password | password property

Applies to Windows and Windows Phone

Gets or sets the password string of the credential.

Syntax


var password = passwordCredential.password;
passwordCredential.password = password;

public string Password { get; set; }

Public Property Password As String

public:
property String^ Password { 
   String^ get();
   void set (String^ value);
}

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The password string of the credential.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Security.Credentials
Windows::Security::Credentials [C++]

Metadata

Windows.winmd

See also

PasswordCredential