BrowserHelper Class |
Namespace: CMS.Helpers
[SerializableAttribute] public class BrowserHelper : IDataContainer, ISimpleDataContainer
The BrowserHelper type exposes the following members.
Name | Description | |
---|---|---|
BrowserHelper |
Name | Description | |
---|---|---|
ColumnNames |
Get the list of supported properties.
| |
IsFlashInstalled |
Indicates whether Flash is installed.
| |
IsJavaInstalled |
Indicates whether Java is installed.
| |
IsSilverlightInstalled |
Indicates whether Silverlight is installed.
| |
Item |
Returns given property from BrowserHelper. Setter is not implemented
| |
OperatingSystem |
Gets or sets the operating system of the user.
| |
ScreenColorDepth |
Gets or sets the screen color depth.
| |
ScreenResolution |
Gets or sets the screen resolution.
| |
SearchKeywords |
Gets or sets the search keywords used to access the site.
|
Name | Description | |
---|---|---|
ContainsColumn |
Returns true if given column exists.
| |
GetBrowser |
Gets the browser string from current request.
| |
GetBrowserClass |
Gets the browser specific CSS class name.
| |
GetMajorVersion |
Gets browser major version.
| |
GetMinorVersion |
Gets browser minor version.
| |
GetUrlReferrer |
Returns UrlReferrer from request.
| |
GetUserAgent |
Returns mobile browser agent.
| |
GetUserLanguages |
Returns list of browser user languages from request.
| |
GetValue |
Returns given property from BrowserHelper. Setter is not implemented
| |
IsCrawler |
Returns whether browsing device is search engine crawler (spider, bot).
| |
IsGecko |
Indicates if browser is based on Gecko.
| |
IsGecko2 |
Indicates if browser is based on Gecko of version 2.
| |
IsGecko3 |
Indicates if browser is based on Gecko of version 3.
| |
IsGecko4 |
Indicates if browser is based on Gecko of version 4.
| |
IsChrome |
Returns true if current browser is Chrome.
| |
IsIE |
Indicates if browser is Internet explorer.
| |
IsIE6 |
Indicates if browser is Internet Explorer 6.
| |
IsIE7 |
Indicates if browser is Internet Explorer 7.
| |
IsIE8 |
Indicates if browser is Internet Explorer 8.
| |
IsIE9 |
Indicates if browser is Internet Explorer 9.
| |
IsMobileDevice |
Indicates if browser is mobile device.
| |
IsMobileDevice(Boolean) |
Indicates if browser is mobile device.
| |
IsOpera |
Indicates if browser is Opera.
| |
IsSafari |
Returns true if current browser is Safari.
| |
IsWebKit |
Indicates if browser is based on WebKit.
| |
IsWin32 |
Indicates if client is a Win-32 based comupter.
| |
SetValue |
Not implemented.
| |
TryGetValue |
Returns given property from BrowserHelper
|
Name | Description | |
---|---|---|
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML |
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |