public bool SupportsSSL() { HashSet <string> abas = new HashSet <string>(Supernets.SelectMany(GetABAs)); HashSet <string> babs = new HashSet <string>(Hypernets.SelectMany(GetABAs)); return(abas.Any(aba => babs.Contains(AbaToBab(aba)))); }
public bool SupportsTls() { return(Supernets.Any(s => HasAbba(s)) && !Hypernets.Any(s => HasAbba(s))); }
public bool SupportsTLS() { return(!Hypernets.Any(HasABBA) && Supernets.Any(HasABBA)); }