HttpBrowserCapabilitiesWrapper.IsBrowser Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether the client browser is the same as the specified browser.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

override IsBrowser : 
        browserName:string -> bool

Parameters

browserName
Type: System.String

The specified browser.

Return Value

Type: System.Boolean

true if the client browser is the same as the specified browser; otherwise, false. The default is false.

.NET Framework
Available since 3.5
Return to top
Show: