Export (0) Print
Expand All

HttpBrowserCapabilitiesBase.IsBrowser Method

When overridden in a derived class, 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)

public virtual bool IsBrowser(
	string browserName
)

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.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft