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

Public Shared Function IsUplevelBrowser ( _
    context As HttpContext _
) As Boolean

Dim context As HttpContext
Dim returnValue As Boolean

returnValue = SPUtility.IsUplevelBrowser(context)
public static bool IsUplevelBrowser(
    HttpContext context
)

Parameters

  • context
    Type: System.Web.HttpContext
    A System.Web.HttpContext object that represents the context of the request.

Return Value

Type: System.Boolean
If true, the browser is a later version; otherwise, false.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace