Indicates whether a URI targets a domain.
public static bool MatchesDomain(this Uri uri, string domain)
parameter | description |
---|---|
uri | A URI. |
domain | A domain name string. |
True if the supplied URI targets the supplied domain name string, otherwise false.