ReSharper suggests changing:
System.Net.ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; };
AT:
System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;
It looks a little cleaner. But we focus on .NET 2.0. Is this something else that we should do?
Deleted Jul 27 '10 at 8:29 2010-07-27 08:29
source share