Walter.Net.Networking
Domain Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > NetworkExtensionMethods Class : Domain Method
Get the domain part of the URL so https://www.someDomain.com/path?query=value#fragement becomes Https://www.someDomain.com
Syntax
public static Uri Domain( 
   Uri uri
)

Parameters

uri

Return Value

URI of only the domain
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NetworkExtensionMethods Class
NetworkExtensionMethods Members