共用方式為


HtmlPage.BrowserInformation Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

Syntax

'Declaration
Public Shared ReadOnly Property BrowserInformation As BrowserInformation
public static BrowserInformation BrowserInformation { get; }

Property Value

Type: System.Windows.Browser.BrowserInformation
An object that represents general information about the hosting browser.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.