NET 4.5+. Here's a simple example: using (var client = new HttpClient()) { var values = new Dictionary.