示例#1
0
            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))));
            }
示例#2
0
 public bool SupportsTls()
 {
     return(Supernets.Any(s => HasAbba(s)) && !Hypernets.Any(s => HasAbba(s)));
 }
示例#3
0
 public bool SupportsTLS()
 {
     return(!Hypernets.Any(HasABBA) && Supernets.Any(HasABBA));
 }