From a69b5db8bf82e2e34b71d589ad70a15c494c6183 Mon Sep 17 00:00:00 2001 From: Michele George Date: Mon, 23 Aug 2021 14:19:26 +0200 Subject: [PATCH] Adjust the UserAgent so All SDKs follow the same pattern --- .../commercetools.Base.Client/Middlewares/UserAgentProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commercetools.Sdk/commercetools.Base.Client/Middlewares/UserAgentProvider.cs b/commercetools.Sdk/commercetools.Base.Client/Middlewares/UserAgentProvider.cs index fc48f34f4e0..6a13d960932 100644 --- a/commercetools.Sdk/commercetools.Base.Client/Middlewares/UserAgentProvider.cs +++ b/commercetools.Sdk/commercetools.Base.Client/Middlewares/UserAgentProvider.cs @@ -44,7 +44,7 @@ public UserAgentProvider() osPlatform = " (FreeBSD/" + Environment.OSVersion.Version + ")"; } - this.UserAgent = $"commercetools-dotnet-core-sdk/{assemblyVersion} {frameworkName}/{attr.Version}{osPlatform}"; + this.UserAgent = $"commercetools-sdk-dotnet-v2/{assemblyVersion} {frameworkName}/{attr.Version}{osPlatform}"; } public string UserAgent { get; set; }