Get just the domain name from a URL?

Yes, it is possible use:

Uri.GetLeftPart( UriPartial.Authority )

Leave a Comment