Method NamesClient
- Assembly
- MailFathom.Infrastructure.dll
NamesClient(IEnumerable<string>)
Reports whether a certificate carrying given DNS names is the client this profile identifies.
public bool NamesClient(IEnumerable<string> presentedDnsNames)
Parameters
presentedDnsNamesIEnumerable<string>The subject alternative DNS names the certificate carries.
Returns
Remarks
DNS names are compared without regard to case, which is what a host name is, and never by suffix: a profile names the client rather than a domain a client happens to sit under.
Exceptions
- ArgumentNullException
Thrown when
presentedDnsNamesis null.