uri class : UserInfo getter

Description

Gets the user-specific information associated with the URI.

Syntax

uriInstance.UserInfo

Arguments

None.

Return value

ClassDescription
stringThe 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.

Links for reference

Copyright © Cooker All rights reserved.