Method | Description | |
---|---|---|
DomainName ( string domainString ) : System |
Constructs a DomainName object from the string representation of a domain.
|
|
TryParse ( string domainString, DomainName &result ) : bool |
Converts the string representation of a domain to its DomainName equivalent. A return value indicates whether the operation succeeded.
|
Method | Description | |
---|---|---|
DomainName ( string TLD, string SLD, string SubDomain, TLDRule TLDRule ) : System |
Constructs a DomainName object from its 3 parts
|
|
FindMatchingTLDRule ( string domainString ) : TLDRule |
Finds matching rule for a domain. If no rule is found, returns a null TLDRule object
|
|
ParseDomainName ( string domainString, string &TLD, string &SLD, string &SubDomain, TLDRule &MatchingRule ) : void |
Converts the string representation of a domain to it's 3 distinct components: Top Level Domain (TLD), Second Level Domain (SLD), and subdomain information
|
public DomainName ( string domainString ) : System | ||
domainString | string | |
return | System |
public static TryParse ( string domainString, DomainName &result ) : bool | ||
domainString | string | |
result | DomainName | |
return | bool |