Skip to content

Commit

Permalink
Update ServiceClient.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
abhivijay96 committed May 18, 2016
1 parent 2c27c28 commit 4630b69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public bool SetUserAgent(string productName,string version)
/// Dispose the the old useragent.
/// </summary>
HttpClient.DefaultRequestHeaders.UserAgent.Clear();
HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue(productName,version);
HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue(productName,version));
// returns true if the userAgent was added
return true;
}
Expand Down

0 comments on commit 4630b69

Please sign in to comment.