From 834708ad7ee3fcf6fc1ef589c656e3bbf2bacc2d Mon Sep 17 00:00:00 2001 From: Keyur Date: Thu, 11 Mar 2021 17:07:57 -0800 Subject: [PATCH] Refactor: User-Agent string Refactor: User-Agent string --- Moesif.Api/Http/Client/UnirestClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moesif.Api/Http/Client/UnirestClient.cs b/Moesif.Api/Http/Client/UnirestClient.cs index 6578eeb..77d3bc8 100644 --- a/Moesif.Api/Http/Client/UnirestClient.cs +++ b/Moesif.Api/Http/Client/UnirestClient.cs @@ -232,7 +232,7 @@ private static UniHttpRequest ConvertRequest(HttpRequest request) } else { - uniRequest.header("user-agent", Version); + uniRequest.header("user-agent", "moesifapi-csharp/" + Version); } //Set basic auth credentials if any