Gets the user name, password, or other user-specific information associated with the specified URI.
Assembly: System (in System.dll)
This instance represents a relative URI, and this property is valid only for absolute URIs.
The value returned by this property is usually in the format "userName:password".
The following example creates a Uri instance and writes the user information to the console.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1