Show / Hide Table of Contents

Class BrowserInformation

Provides general information about the browser, such as name, version, and operating system.

Inheritance
System.Object
BrowserInformation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Browser
Assembly: OpenSilver.Browser.dll
Syntax
public sealed class BrowserInformation

Properties

| Improve this Doc View Source

BrowserVersion

Gets the version of the browser technology that the current browser is based on.

Declaration
public Version BrowserVersion { get; }
Property Value
Type Description
System.Version
| Improve this Doc View Source

CookiesEnabled

Gets a value that indicates whether the browser supports cookies.

Declaration
public bool CookiesEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Name

Gets the name of the browser technology that the current browser is based on.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Platform

Gets the name of the browser operating system.

Declaration
public string Platform { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProductName

Gets the product name of the browser.

Declaration
public string ProductName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProductVersion

Gets the product version number of the browser.

Declaration
public string ProductVersion { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UserAgent

Gets the user agent string of the browser.

Declaration
public string UserAgent { get; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source