SEBWIN-645: Replaced informational with build version for user agent of network resource requests.

This commit is contained in:
Damian Büchel 2023-03-15 20:44:24 +01:00
parent b2c2508812
commit cba73bd727

View file

@ -90,7 +90,7 @@ namespace SafeExamBrowser.Configuration.DataResources
private HttpRequestMessage Build(HttpMethod method, Uri uri)
{
var request = new HttpRequestMessage(method, uri);
var userAgent = new ProductInfoHeaderValue("SEB", appConfig.ProgramInformationalVersion);
var userAgent = new ProductInfoHeaderValue("SEB", appConfig.ProgramBuildVersion);
request.Headers.UserAgent.Add(userAgent);