Westwind Utilities
NetworkUtils.GetBaseDomain
Table of Contents
On this page:

NetworkUtils.GetBaseDomain

Returns the base domain from a domain name Example: http://www.west-wind.com returns west-wind.com

public static string GetBaseDomain(string domainName)

Parameters

domainName
Dns Domain name as a string

Overloads

public static string GetBaseDomain(Uri uri)

© West Wind Technologies, 2026 • updated: Jan 02, 2026
Comment or report problem with topic