menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class UserAgent

    Show / Hide Table of Contents

    Class UserAgent

    Inheritance
    System.Object
    UserAgent
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public static class UserAgent

    Properties

    HttpContext

    Declaration
    public static ContextHelper HttpContext { get; set; }
    Property Value
    Type Description
    ContextHelper

    Methods

    GetAndroidVersion()

    Gets the android version.

    Declaration
    public static float GetAndroidVersion()
    Returns
    Type Description
    System.Single

    IsAndroid()

    Determines whether this instance is android.

    Declaration
    public static bool IsAndroid()
    Returns
    Type Description
    System.Boolean

    IsDevice()

    Determines whether this instance is device.

    Declaration
    public static bool IsDevice()
    Returns
    Type Description
    System.Boolean

    IsIOS7()

    Determines whether [is io s7].

    Declaration
    public static bool IsIOS7()
    Returns
    Type Description
    System.Boolean

    IsLowerAndroid()

    Determines whether [is lower android].

    Declaration
    public static bool IsLowerAndroid()
    Returns
    Type Description
    System.Boolean

    IsMatchUserAgent(Regex)

    Declaration
    public static bool IsMatchUserAgent(Regex exp)
    Parameters
    Type Name Description
    System.Text.RegularExpressions.Regex exp
    Returns
    Type Description
    System.Boolean

    IsMobile()

    Determines whether this instance is mobile.

    Declaration
    public static bool IsMobile()
    Returns
    Type Description
    System.Boolean

    IsWindows()

    Determines whether this instance is windows.

    Declaration
    public static bool IsWindows()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved