Advertisement
dereksir

Untitled

Oct 18th, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.71 KB | None | 0 0
  1. using System;
  2. using System.Net.Http;
  3.  
  4. class Program
  5. {
  6.     static async Task Main()
  7.     {
  8.         // Create an instance of HttpClient
  9.         HttpClient httpClient = new HttpClient();
  10.  
  11.         // Define your User Agent List
  12.         List<string> userAgents = new List<string>
  13.         {
  14.             "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
  15.             "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
  16.             "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
  17.            
  18.         };
  19.  
  20.     //..
  21.    
  22.     }
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement