Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    GetUserAgent()

    Gets the user agent string from the current HTTP request.

    Declaration
    string? GetUserAgent()
    Returns
    Type Description
    string

    The user agent string, or null if not available.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX