Uri.UserEscaped Property tells that the URI string was completely escaped before the Uri instance was created.
Imports System.IO
Imports System.Net
Imports System.Text
public class MainClass
Shared Sub Main()
Dim uriAddress As New Uri("http://user:password@www.yourdomain.com/index.htm ")
Console.WriteLine(uriAddress.UserInfo)
Console.WriteLine("Fully Escaped {0}", IIf(uriAddress.UserEscaped, "yes", "no"))
End Sub
End Class
Related examples in the same category