Uri.UserName 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.
public:
property Platform::String ^ UserName { Platform::String ^ get(); };
winrt::hstring UserName();
public string UserName { get; }
var string = uri.userName;
Public ReadOnly Property UserName As String
Property Value
The user name.
Remarks
Note
username:password**@** preceding the host part of a URI are mainly relevant for File Transfer Protocol (FTP) Uniform Resource Identifier (URI). File Transfer Protocol (FTP) Uniform Resource Identifier (URI) have limited support in Windows Runtime; see "Transferring data in the background" (HTML or XAML).