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 7, 2016
1 parent 8a2fd9a commit 79b3093
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ public bool SetUserAgent(string produtName)
{
if(!_disposed && HttpClient != null)
{
HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue(productName,
GetClientVersion()));
HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue(productName, GetClientVersion()));
// returns true if the userAgent was added
return true;
}
Expand Down

0 comments on commit 79b3093

Please sign in to comment.