HttpClient.Timeout Property (System.Net.Http)
Gets or sets the timespan to wait before the request times out.
learn.microsoft.com