From 79b30937cc4bbc376cc604a9bfffec07fc2efcc9 Mon Sep 17 00:00:00 2001 From: abhivijay96 Date: Sat, 7 May 2016 23:03:48 +0530 Subject: [PATCH] Update ServiceClient.cs --- .../CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs index 8051c80557..8871933963 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs @@ -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; }