SPUtility.IsUplevelBrowser method
Returns a Boolean value that indicates whether the version of the browser is later than Internet Explorer 5.0 or Netscape Navigator 6.0, based on the HTTP context of the request.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IsUplevelBrowser ( _
context As HttpContext _
) As Boolean
'Usage
Dim context As HttpContext
Dim returnValue As Boolean
returnValue = SPUtility.IsUplevelBrowser(context)
public static bool IsUplevelBrowser(
HttpContext context
)
Parameters
context
Type: System.Web.HttpContextA System.Web.HttpContext object that represents the context of the request.
Return value
Type: System.Boolean
true if the browser is a later version; otherwise, false.