URLHelperGetDomainName Method |
Returns name (e.g. localhost) without port, www. prefix and application path.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string GetDomainName(
string domain
)
Parameters
- domain
- Type: SystemString
Domain.
Return Value
Type:
StringSee Also