driver-updater

Windows app that checks Windows Update and hardware vendors for newer drivers and silently installs the driver.
git clone https://dittus.dev/git/driver-updater.git
Log | Files | Refs | README | Download

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 }