Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Get only the domain of an Url

$
0
0

 

I need to get only the top-level domain of an Url (gotten by the HTTP_HOST request variable)

 

I've tried using the System.Uri class and couldn't make it... Does anybody have an idea??

 

 

Thanks


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>