Web.cs (336B)
1 using System.Net.Http; 2 3 namespace DriverUpdater; 4 5 static class Web 6 { 7 // Shared by the vendor checks and the installer downloads. Intel's catalog rejects requests 8 // with no User-Agent. 9 public static readonly HttpClient Client = new() 10 { 11 DefaultRequestHeaders = { { "User-Agent", "DriverUpdater/0.1" } }, 12 }; 13 }