6 implementations of UserAgent
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
974public StringValues UserAgent
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
974public StringValues UserAgent
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
680StringValues IHeaderDictionary.UserAgent 10695StringValues IHeaderDictionary.UserAgent 16950StringValues IHeaderDictionary.UserAgent
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
974public StringValues UserAgent
3 writes to UserAgent
HttpAbstractions.SampleApp (1)
Program.cs (1)
21request.Headers.UserAgent = "Edge";
Microsoft.AspNetCore.Rewrite.Tests (1)
IISUrlRewrite\ServerVariableTests.cs (1)
148context.Request.Headers.UserAgent = "useragent";
Microsoft.AspNetCore.TestHost.Tests (1)
HttpContextBuilderTests.cs (1)
56c.Request.Headers.UserAgent = userAgent;
4 references to UserAgent
Interop.FunctionalTests (2)
Http3\Http3RequestTests.cs (2)
1468request1HeaderValue = context.Request.Headers.UserAgent; 1472request2HeaderValue = context.Request.Headers.UserAgent;
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (1)
115var actualResult = context.Request.Headers.UserAgent;
HttpContextBuilderTests.cs (1)
59var actualResult = context.Request.Headers.UserAgent;