Skip to content

Commit

Permalink
specify user Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
yushkevich committed Jun 12, 2019
1 parent 39e16f5 commit 879ffb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetLicensingClient/RestController/NetLicensingAPI.cs
Expand Up @@ -64,7 +64,7 @@ public static netlicensing request(Context context, Method method, String path,
}

HttpWebRequest request = WebRequest.Create(context.baseUrl + "/" + path + urlParam) as HttpWebRequest;
request.UserAgent = "NetLicensing/C# " + System.Environment.Version + "/"+ Constants.NETLICENSING_VERSION + " (https://netlicensing.io)";
request.UserAgent = "NetLicensing/C# " + Constants.NETLICENSING_VERSION + "/"+ System.Environment.Version + " (https://netlicensing.io)";

switch (method)
{
Expand Down

0 comments on commit 879ffb5

Please sign in to comment.