Megosztás a következőn keresztül:


Uri.Password Property

Definition

Gets the password component of the Uniform Resource Identifier (URI) as stored in this Uri instance.

public:
 property Platform::String ^ Password { Platform::String ^ get(); };
winrt::hstring Password();
public string Password { get; }
var string = uri.password;
Public ReadOnly Property Password As String

Property Value

String

Platform::String

winrt::hstring

The password.

Remarks

Note

username:password**@** preceding the host part of a URI are mainly relevant for File Transfer Protocol (FTP) URIs. File Transfer Protocol (FTP) URIs have limited support in Windows Runtime; see "Transferring data in the background" (HTML or XAML).

Applies to