Class HttpContextWebClientInfoProvider
Inheritance
HttpContextWebClientInfoProvider
Assembly: Volo.Abp.AspNetCore.dll
Syntax
[Dependency(ReplaceServices = true)]
public class HttpContextWebClientInfoProvider : IWebClientInfoProvider, ITransientDependency
Constructors
HttpContextWebClientInfoProvider(ILogger<HttpContextWebClientInfoProvider>, IHttpContextAccessor)
Declaration
public HttpContextWebClientInfoProvider(ILogger<HttpContextWebClientInfoProvider> logger, IHttpContextAccessor httpContextAccessor)
Parameters
Properties
BrowserInfo
Declaration
public string? BrowserInfo { get; }
Property Value
ClientIpAddress
Declaration
public string? ClientIpAddress { get; }
Property Value
DeviceInfo
Declaration
public string? DeviceInfo { get; }
Property Value
HttpContextAccessor
Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
Logger
Declaration
protected ILogger<HttpContextWebClientInfoProvider> Logger { get; }
Property Value
Methods
GetBrowserInfo()
Declaration
protected virtual string? GetBrowserInfo()
Returns
GetClientIpAddress()
Declaration
protected virtual string? GetClientIpAddress()
Returns
GetDeviceInfo()
Declaration
protected virtual string? GetDeviceInfo()
Returns
Implements
Extension Methods