File: src\Util\X509Helper.cs
Web Access
Project: src\src\Microsoft.DotNet.VersionTools\lib\Microsoft.DotNet.VersionTools.csproj (Microsoft.DotNet.VersionTools)
using System;
using System.Net.Http;
 
namespace Microsoft.DotNet.VersionTools.src.Util
{
    class X509Helper
    {
        public static HttpClient GetHttpClientWithCertRevocation()
        {
            return new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true });
        }
    }
}