uri class : UserInfo getter
Description
Gets the user-specific information associated with the URI.
Syntax
uriInstance.UserInfo
Arguments
None.
Return value
Class | Description |
string | The user-specific information associated with the URI. |
Sample code
1: | uri u = new uri("http://user:password@www.example.com/aaa/bbb.html"); |
2: | string info = u.UserInfo; |
Notes
It's a wrapper of the System.Uri.UserInfo property.