URLHelperDomainMatch Method |
Returns true if the given domain names match.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static bool DomainMatch(
string first,
string second,
bool checkPort
)
Parameters
- first
- Type: SystemString
First domain name - second
- Type: SystemString
Second domain name - checkPort
- Type: SystemBoolean
If true, port is checked
Return Value
Type:
BooleanSee Also