• mohammadlachgar's avatar
    change ProxyEndPoints.Any to ProxyEndPoints.OfType · 21c6309f
    mohammadlachgar authored
    change 
    if (ProxyEndPoints.Any(x => (x as ExplicitProxyEndPoint).GenericCertificate == null))
    to
    if (ProxyEndPoints.OfType<ExplicitProxyEndPoint>().Any(x => x.GenericCertificate == null))
    and add 
     throw new Exception(ex.Message);
    21c6309f
ProxyServer.cs 30.1 KB