Click or drag to resize
URLHelperGetDomainName Method
Returns name (e.g. localhost) without port, www. prefix and application path.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static string GetDomainName(
	string domain
)

Parameters

domain
Type: SystemString
Domain.

Return Value

Type: String
See Also