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 SourceBrowserVersion
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 |
CookiesEnabled
Gets a value that indicates whether the browser supports cookies.
Declaration
public bool CookiesEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
Platform
Gets the name of the browser operating system.
Declaration
public string Platform { get; }
Property Value
Type | Description |
---|---|
System.String |
ProductName
Gets the product name of the browser.
Declaration
public string ProductName { get; }
Property Value
Type | Description |
---|---|
System.String |
ProductVersion
Gets the product version number of the browser.
Declaration
public string ProductVersion { get; }
Property Value
Type | Description |
---|---|
System.String |
UserAgent
Gets the user agent string of the browser.
Declaration
public string UserAgent { get; }
Property Value
Type | Description |
---|---|
System.String |