Create Uri object and get AbsolutePath and AbsoluteUri : Uri « Socket Network « VB.Net Tutorial






Imports System.Net
Imports System.Net.Sockets


Public Class Tester
    Public Shared Sub Main


        Dim aUri As New Uri("http://www.java2s.com/")
        Console.WriteLine(aUri.AbsoluteUri)

        Console.WriteLine(aUri.AbsolutePath)


    End Sub
End Class
http://www.java2s.com/
/








22.2.Uri
22.2.1.Create Uri object and get AbsolutePath and AbsoluteUri
22.2.2.Get Port and Scheme from a Uri
22.2.3.Uri.CheckHostName
22.2.4.URL properties
22.2.5.Uri Host Name Type