ReSharper suggests we change:
System.Net.ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, X509Certificate certificate,
You can use it as long as you use VS2008 (or later) for development. Lambda expressions is a feature of C# language, it's not a feature of .Net Framework.