Click or drag to resize
BrowserHelper Class
Browser helper methods.
Inheritance Hierarchy
SystemObject
  CMS.HelpersBrowserHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
[SerializableAttribute]
public class BrowserHelper : IDataContainer, 
	ISimpleDataContainer

The BrowserHelper type exposes the following members.

Constructors
  NameDescription
Public methodBrowserHelper
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if given column exists.
Public methodStatic memberGetBrowser
Gets the browser string from current request.
Public methodStatic memberGetBrowserClass
Gets the browser specific CSS class name including browser version number.
Public methodStatic memberGetBrowserClass(Boolean)
Gets the browser specific CSS class name.
Public methodStatic memberGetMajorVersion
Gets browser major version.
Public methodStatic memberGetMinorVersion
Gets browser minor version.
Public methodStatic memberGetUrlReferrer
Returns UrlReferrer from request.
Public methodStatic memberGetUserAgent
Returns mobile browser agent.
Public methodStatic memberGetUserLanguages
Returns list of browser user languages from request.
Public methodGetValue
Returns given property from BrowserHelper. Setter is not implemented
Public methodStatic memberIsCrawler
Returns whether browsing device is search engine crawler (spider, bot).
Public methodStatic memberIsGecko
Indicates if browser is based on Gecko.
Public methodStatic memberIsGecko2
Indicates if browser is based on Gecko of version 2.
Public methodStatic memberIsGecko3
Indicates if browser is based on Gecko of version 3.
Public methodStatic memberIsGecko4
Indicates if browser is based on Gecko of version 4.
Public methodStatic memberIsChrome
Returns true if current browser is Chrome.
Public methodStatic memberIsIE
Indicates if browser is Internet explorer.
Public methodStatic memberIsIE6
Indicates if browser is Internet Explorer 6.
Public methodStatic memberIsIE7
Indicates if browser is Internet Explorer 7.
Public methodStatic memberIsIE8
Indicates if browser is Internet Explorer 8.
Public methodStatic memberIsIE9
Indicates if browser is Internet Explorer 9.
Public methodStatic memberIsMobileDevice
Indicates if browser is mobile device.
Public methodStatic memberIsMobileDevice(Boolean)
Indicates if browser is mobile device.
Public methodStatic memberIsOpera
Indicates if browser is Opera.
Public methodStatic memberIsSafari
Returns true if current browser is Safari.
Public methodStatic memberIsWebKit
Indicates if browser is based on WebKit.
Public methodStatic memberIsWin32
Indicates if client is a Win-32 based comupter.
Public methodSetValue
Not implemented.
Public methodTryGetValue
Returns given property from BrowserHelper
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
Properties
  NameDescription
Public propertyColumnNames
Get the list of supported properties.
Public propertyIsFlashInstalled
Indicates whether Flash is installed.
Public propertyIsJavaInstalled
Indicates whether Java is installed.
Public propertyIsSilverlightInstalled
Indicates whether Silverlight is installed.
Public propertyItem
Returns given property from BrowserHelper. Setter is not implemented
Public propertyOperatingSystem
Gets or sets the operating system of the user.
Public propertyScreenColorDepth
Gets or sets the screen color depth.
Public propertyScreenResolution
Gets or sets the screen resolution.
Public propertySearchKeywords
Gets or sets the search keywords used to access the site.
Top
See Also