URLHelperGetDomain Method |
Returns domain or domain with port if present from specific URL.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static string GetDomain(
string url
)
Parameters
- url
- Type: SystemString
Input URL in format http(s)://domain
Return Value
Type:
StringSee Also