From 2c27c28eb867b4c059e8e1c363e5282ad48f5a49 Mon Sep 17 00:00:00 2001 From: abhivijay96 Date: Tue, 17 May 2016 07:38:34 +0530 Subject: [PATCH] Update ServiceClient.cs --- .../CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs index 78142ca575..4012b737cf 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs +++ b/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs @@ -207,7 +207,6 @@ protected void InitializeHttpClient(HttpClientHandler httpClientHandler, params FirstMessageHandler = currentHandler; HttpClient = newClient; Type type = this.GetType(); - //setting userAgentBelow is removed because now the client can set it using SetUserAgent method HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue(type.FullName, GetClientVersion())); }