Obtain dominance of a URL vb.net [closed]

-2

Well I have this problem, I have a url (String):

https://www.linkedin.com/?trk=msn-top-ve

and I want to get the domain that is:

www.linkedin.com

I also want to get the domain for the URLs that are: link etc .. I only want the domain: ( ww5. wpepro.net )

thanks in advance.

    
asked by S4L salsoft 18.11.2018 в 22:45
source

1 answer

-1
Dim uri As New Uri("https://www.linkedin.com/?trk=msn-top-ve")
Dim dominio as String=uri.Host
    
answered by 28.11.2018 / 13:43
source