Using HttpClient (System.Net.Http) in .Net 4.0

To use HttpClient from System.Net.Http in a project targeting .Net 4.0, run the following command in the NuGet Package Manager Console:

Install-Package Microsoft.Net.Http

Visit the official NuGet pages for more info about the package.