SEBWIN-645: Replaced informational with build version for user agent of network resource requests.
This commit is contained in:
parent
b2c2508812
commit
cba73bd727
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ namespace SafeExamBrowser.Configuration.DataResources
|
||||||
private HttpRequestMessage Build(HttpMethod method, Uri uri)
|
private HttpRequestMessage Build(HttpMethod method, Uri uri)
|
||||||
{
|
{
|
||||||
var request = new HttpRequestMessage(method, 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);
|
request.Headers.UserAgent.Add(userAgent);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue