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)

public static bool IsUplevelBrowser(
	HttpContext context


Type: System.Web.HttpContext

A 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.