System.UriBuilder
Object
–> UriBuilder
Construct and modify URIs for the Uri class.
Construction
UriBuilder()
— Returns a new UriBuilder instance.UriBuilder(string)
— Returns a new UriBuilder instance from string.UriBuilder(Uri)
— Returns a new UriBuilder instance from Uri.
Properties
Assuming a URI https://user:password@www.contoso.com:80/Home/Index.htm?q1=v1&q2=v2#FragmentName:
Fragment
—#FragmentName
Host
— www.contoso.comPassword
— passwordPath
— /Home/Index.htmPort
— 80Query
— ?q1=v1&q2=v2Scheme
— httpsUri
— https://user:password@www.contoso.com:80/Home/Index.htm?q1=v1&q2=v2#FragmentNameUserName
— user