• mohammadlachgar's avatar
    change ProxyEndPoints.Any to ProxyEndPoints.OfType · 77f0fdde
    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);
    77f0fdde
ProxyServer.cs 30.1 KB