This Fiddler extension generates C# HttpClient code to duplicate a Web Request.