System.Web.Configuration.HttpCapabilitiesBase.IsBrowser Method

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

Syntax

public bool IsBrowser (string browserName)

Parameters

browserName
The specified browser.

Returns

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

Remarks

The HttpCapabilitiesBase.IsBrowser(string) method also returns true if the client browser definition inherits from the specified browser.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0