To install the version, you need to create an instance of HttpRequestMessage and set its Version property, which you will go to HttpClient.SendAsync . You can use the helper class HttpVersion :
var requestMessage = new HttpRequestMessage { Version = HttpVersion.Version10 }; var client = new HttpClient(); var response = await client.SendAsync(requestMessage);
source share