Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsUplevelBrowser method
Collapse the table of content
Expand the table of content

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
)

Parameters

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.
Show:
© 2015 Microsoft