Create UriBuilder class with the specified scheme, host, and port. : UriBuilder « Network Remote « VB.Net






Create UriBuilder class with the specified scheme, host, and port.

 
Imports System.IO
Imports System.Net
Imports System.Text

public class MainClass
   Shared Sub Main()
    Dim myUri As New UriBuilder("http", "www.yourDomain.com", 8080)

   End Sub
End Class

   
  








Related examples in the same category

1.Create UriBuilder class with the specified scheme and host.
2.Create UriBuilder class with the specified scheme, host, port number, and path.
3.Create UriBuilder class with the scheme, host, port number, path and query string or fragment identifier.
4.UriBuilder.Fragment Property gets or sets the fragment portion of the URI.