Interface IUserAgentProvider
Provides functionality to retrieve the user agent string from the current request.
Namespace: Umbraco.Cms.Core.Net
Assembly: Umbraco.Core.dll
Syntax
public interface IUserAgentProvider
Methods
View SourceGetUserAgent()
Gets the user agent string from the current HTTP request.
Declaration
string? GetUserAgent()
Returns
| Type | Description |
|---|---|
| string | The user agent string, or |